summaryrefslogtreecommitdiff
path: root/exercises/structs
AgeCommit message (Collapse)Author
2022-02-04fix(structs3): Add a hint for panic (#608)Yang Wen
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.
2021-10-30fix(structs3.rs): assigned value to cents_per_gram in testMichael Walsh
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 (https://github.com/rust-lang/rustlings/commit/9ca08b8f2b09366e97896a4a8cf9ff3bb4d54380 and https://github.com/rust-lang/rustlings/commit/114b54cbdb977234b39e5f180d937c14c78bb8b2#diff-ce1c232ff0ddaff909351bb84cb5bff423b5b9e04f21fd4db7ffe443e598e174) removed the mathematical complexity, and I feel this addition is a needed change to further streamline the exercise.
2021-09-27fix(structs3): remove redundant 'return' (#852)Zhenghao Lu
2021-05-09fix: remove trailing whitespaceJuan Pablo Ramirez
2021-04-23docs(exercises): updated all exercises readme filesZerotask
all exercises readme files now have a unified structure and a description
2021-04-20fix(structs): Add 5.3 to structs/README (#652)Shao Yang Hong
Co-authored-by: Shao Yang Hong <shaoyang.hong@ninjavan.co>
2021-03-20chore: capitalize `c` letterRod Elias
By capitalizing the `c` letter it makes clear that we're talking about the C programming language.
2021-03-13fix(structs3): reword heading comment (#664)Darius Wiles
2021-03-12fix: add check to prevent naive implementation of is_internationalcadolphs
* fix(structs3): Add check to prevent naive implementation * chore(structs3): Add a missed newline after the test I added
2020-12-15fix: update structs READMEseancad
2020-09-19fix(structs3): Small adjustment of variable nameJannek Squar
Co-authored-by: Jannek <squar@informatik.uni-hamburg.de>
2020-08-10chore: Run rustfmt on exercisesÉtienne Barrié
2020-07-11chore: Alter whitespace for consistencyBenjamin Jones
* Add newline after "I AM DONE" in exercises for consistency * Remove trailing whitespace from exercises
2020-06-11fix : Use of integer for prices, therefore also for weightSebastien Caunes
rename confusing "from" and "to" to sender_country and recipient_country as suggested
2020-05-20chore: remove struct2 hint commentJade McGough
2020-04-27feat: Added exercise structs3.rsDídac Sementé Fernández
2019-11-11feat: improve `watch` execution modeRoberto Vidal
The `watch` command now requires user action to move to the next exercise. BREAKING CHANGE: this changes the behavior of `watch`.
2019-11-11fix(structs1): Remove misleading commentmarisa
2019-10-21feat: Added exercise for struct update syntaxViacheslav Avramenko
2019-07-27docs: Fix wrong titleAndre Pratama
fix #200
2019-06-20Fixes the irrefutable let pattern warningBrian Kung
2019-05-25Adds a simple exercise for structuresBrian Kung