1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2025-06-15 00:04:58 +02:00
Commit Graph

10 Commits

Author SHA1 Message Date
d1ee2daf14 fix(structs3.rs): assigned value to cents_per_gram in test
Intended to simplify the lesson by removing the need to figure out what the value is meant to be based on the tests.

Previous commits (9ca08b8f2b and 114b54cbdb (diff-ce1c232ff0ddaff909351bb84cb5bff423b5b9e04f21fd4db7ffe443e598e174)) removed the mathematical complexity, and I feel this addition is a needed change to further streamline the exercise.
2021-10-30 16:55:58 -06:00
bf33829da2 fix(structs3): remove redundant 'return' (#852) 2021-09-27 10:03:28 +02:00
d9b69bd1a0 fix: remove trailing whitespace 2021-05-09 17:58:54 -05:00
9f3e8c2dde fix(structs3): reword heading comment (#664) 2021-03-13 12:14:02 +01:00
05a753fe63 fix: add check to prevent naive implementation of is_international
* fix(structs3): Add check to prevent naive implementation

* chore(structs3): Add a missed newline after the test I added
2021-03-12 18:36:35 +01:00
114b54cbdb fix(structs3): Small adjustment of variable name
Co-authored-by: Jannek <squar@informatik.uni-hamburg.de>
2020-09-19 21:22:56 +02:00
3144d3ae63 chore: Run rustfmt on exercises 2020-08-10 10:24:21 -04:00
bb5f404e35 chore: Alter whitespace for consistency
* Add newline after "I AM DONE" in exercises for consistency
* Remove trailing whitespace from exercises
2020-07-11 11:50:54 -07:00
9ca08b8f2b fix : Use of integer for prices, therefore also for weight
rename confusing "from" and "to" to sender_country and recipient_country as suggested
2020-06-11 11:44:47 -05:00
b66e2e0962 feat: Added exercise structs3.rs 2020-04-27 20:26:34 +02:00