mokou
886d599c96
fix(structs): add hint comments
2 years ago
camperdue42
4531c21bf1
fix(structs3): Add panic! statement into structs3
...
closes #685
2 years ago
Yang Wen
4f7ff5d9c7
fix(structs3): Add a hint for panic ( #608 )
...
as a totally newbie to Rust, I don't know panic statement from https://doc.rust-lang.org/book/ and rustlings in the beginning. After a hard searching of [should_panic], then I figure out panic statement.
So it's helpful to tell the learner that write a panic statement here.
3 years ago
Michael Walsh
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.
3 years ago
Zhenghao Lu
bf33829da2
fix(structs3): remove redundant 'return' ( #852 )
3 years ago
Juan Pablo Ramirez
d9b69bd1a0
fix: remove trailing whitespace
4 years ago
Darius Wiles
9f3e8c2dde
fix(structs3): reword heading comment ( #664 )
4 years ago
cadolphs
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
4 years ago
Jannek Squar
114b54cbdb
fix(structs3): Small adjustment of variable name
...
Co-authored-by: Jannek <squar@informatik.uni-hamburg.de>
4 years ago
Étienne Barrié
3144d3ae63
chore: Run rustfmt on exercises
4 years ago
Benjamin Jones
bb5f404e35
chore: Alter whitespace for consistency
...
* Add newline after "I AM DONE" in exercises for consistency
* Remove trailing whitespace from exercises
4 years ago
Sebastien Caunes
9ca08b8f2b
fix : Use of integer for prices, therefore also for weight
...
rename confusing "from" and "to" to sender_country and recipient_country as suggested
4 years ago
Dídac Sementé Fernández
b66e2e0962
feat: Added exercise structs3.rs
5 years ago