Commit Graph

186 Commits (8d62a9963708dbecd9312e8bcc4b47049c72d155)

Author SHA1 Message Date
Jesse 89d5186c0d fix(test1): renamed function name to snake case
closes #180
5 years ago
bors aaad60d07e Auto merge of #172 - miller-time:fix-book-links, r=komaeda
chore: Fix a couple broken book links

While I was fixing these, I figured maybe it's good to just use a consistent URL for book links: https://doc.rust-lang.org/book/

Is there a plan for what to do with this old 1.4.0 example that doesn't exist in the current version of the book? Perhaps at least include a disclaimer when recommending that folks check it out?

34e31232df/exercises/threads/README.md (L1)
5 years ago
bors 5f16469807 Auto merge of #171 - miller-time:rustfmt-exercises, r=komaeda
chore: Clean up some formatting in exercises

I noticed some formatting that isn't consistent with the `rustfmt` style and tried my best to run it on the files in the exercises directory (which does fail for files that can't compile!), which just caught some minor whitespace things here and there.

Note: also can't just apply `rustfmt` blindly because of the blank lines that lead to the hint comments
5 years ago
bors 752bc27e2b Auto merge of #179 - briankung:fix_irrefutable_let_pattern_structs1, r=komaeda
Fixes the irrefutable let pattern warning in `structs1.rs`

PR https://github.com/rust-lang/rustlings/pull/163 accidentally introduced an error using some versions of the Rust compiler where the compiler would (rightly!) complain about an irrefutable let pattern. I have no idea why this did not occur in all versions of the compiler, but here is a way around it.
5 years ago
Brian Kung cc6a14104d Fixes the irrefutable let pattern warning 5 years ago
Russell Cousineau eb13c2b6af chore: Clean up some formatting in exercises 5 years ago
Russell Cousineau 63c133e4a3 chore: Fix a couple broken book links 5 years ago
bors 5586613eec Auto merge of #170 - miller-time:rename-iterator-exercise, r=komaeda
fix(iterators): Rename iterator3.rs

fixes #155
5 years ago
Rohan Prinja 080d6cdd11 chore: Fix link to Arc<T> in the book 5 years ago
Russell Cousineau 433d2115bc fix(iterators): Rename iterator3.rs 5 years ago
bors 41170ce341 Auto merge of #164 - HanKruiger:master, r=komaeda
Fix broken link
5 years ago
gushroom fd1441d122 fixed outdated links 5 years ago
HanKruiger e1422c6443 Fix broken link 5 years ago
Brian Kung 9b92aa08ae Adds a simple exercise for structures 5 years ago
bors 8bf8cbbd61 Auto merge of #162 - c-rustacean:rustfmt-and-ws-fixes, r=komaeda
errorsn.rs: Separate also the hints from each other to avoid accidental viewing
5 years ago
Eddy Petrisor f507844102 errorsn.rs: Separate also the hints from each other to avoid accidental viewing
Signed-off-by: Eddy Petrisor <eddy.petrisor@gmail.com>
5 years ago
bors fffbb60ed9 Auto merge of #161 - c-rustacean:rustfmt-and-ws-fixes, r=komaeda
Rustfmt and ws fixes
5 years ago
Eddy Petrisor 9aec4abc4d rustfmt the exercises
Signed-off-by: Eddy Petrisor <eddy.petrisor@gmail.com>
5 years ago
Eddy Petrisor a53b3f199f iterator3.rs: whitespace fixes
Signed-off-by: Eddy Petrisor <eddy.petrisor@gmail.com>
5 years ago
Eddy Petrisor d6d696b66a errorsn.rs: Separate hints from code, so hints are not accidentally seen
Signed-off-by: Eddy Petrisor <eddy.petrisor@gmail.com>
5 years ago
Julien Bisconti 187d2ad226
Update errors1.rs
Add Result type signature as it is difficult for new comers to understand Generics and Error all at once
5 years ago
Yvan Sraka a71bc62c29
Add errors to exercises that compile without user changes 5 years ago
Diod FR d7e58ee1af
Fix links by deleting book version 5 years ago
zacanger c5a374fbf2
Fix permissions on source files 5 years ago
Kyle Isom c1f4257a91 errors2.rs: update link to Rust book. 5 years ago
liv 02ceb0ba8c fix test command execution
seems like i forgot that you actually need to run executables created
with `rustc --test`! this also reworks the "test1" exercise a bit

closes #108
5 years ago
Jean-Philippe Moresmau 4e3bd8d51b Renamed readme files properly 6 years ago
Jean-Philippe Moresmau 3073ff3f82 Renamed readme files properly 6 years ago
liv 05f65d67ae thematically refactor modules2 6 years ago
liv a49a22071a redo the section readmes 6 years ago
liv dc1f3b79f8 add tests; refactor exercise links 6 years ago
liv 17e12433cb add a test 6 years ago
liv b90f642029 remove the ex*.rs files 6 years ago
delet0r b0c9b33978 Changed Rust Book versions in links to 2018
Forgot to add changes to last commit.
6 years ago
delet0r 0973e60056 Created sub READMEs for CLI only version
Sub READMEs contain the relevant resources from the main
README of the web version. All second edition Rust Book links
were updated to the 2018 edition.

Fixed to typos in main README.md.
6 years ago
olivia f7846af7ac right let's try this one again 6 years ago