summaryrefslogtreecommitdiff
path: root/exercises/smart_pointers
AgeCommit message (Collapse)Author
2023-09-08Fix compiler error and clarify instructionsOscar Bonilla
2023-09-06Merge pull request #1641 from mo8it/move-semantics5-testliv
Convert exercises with assertions to tests
2023-08-27Convert other exercises that have assertions to test modemo8it
2023-08-10add .to_mut() in test owned_mutation()Mate Kovacs
2023-05-29docs: cleanup the explanation paragraphs at the start of each exercise.Robert Fry
2023-04-27chore: clarified cow owned_no_mutation commentsPiqqiDesigns
2023-03-30feat(docs): add markdown linter for exercises README.md filesAli Afsharzadeh
2023-02-18refactor(arc1): improve readability by avoiding implicit dereferenceCyril MARPAUD
2023-02-14refactor(cow1): replace main with testsDaan Wynen
Following the discussion in #1195 this is the best I could come up with. The issue for me (and apparently a few other learners) was that the code needed to complete the exercise was not _missing_, but was rather there but wrong. In the end, what made the difference between this exercise and others (for me) was that in this exercise I was supposed to learn what to *expect* of an output. So I think it makes sense here to let the learner modify the tests and not the code itself. Fixes #1195 Signed-off-by: Daan Wynen <black.puppydog@gmx.de> # Conflicts: # info.toml
2023-01-23chore: fix prompt errorKevin Wan
Missed a blank line, which causes the prompt incorrect like below: ```rust You can keep working on this exercise, or jump into the next one by removing the `I AM NOT DONE` comment: 6 | // Make this code compile by using the proper Rc primitives to express that the sun has multiple owners. 7 | 8 | // I AM NOT DONE 9 | use std::rc::Rc; ```
2023-01-01fixed formattingseporterfield
2023-01-01gave smart_pointers its own README.mdseporterfield
2023-01-01moved rc to smart_pointersseporterfield
2023-01-01moved cow to smart_pointersseporterfield
2023-01-01moved box to smart_pointersseporterfield
2023-01-01move arc to smart_pointersseporterfield