Corin Lawson
7f7eb7c0a8
feat(iterators5): Introduce fibonacci exercise
...
Every good programming exercise book should include the fibonacci
numbers!
One possible solution:
(0..i).fold((0, 1), |(a, b), _| (b, a + b)).1
Signed-off-by: Corin Lawson <corin@responsight.com>
2019-06-14 14:11:20 +10:00
bors
5586613eec
Auto merge of #170 - miller-time:rename-iterator-exercise, r=komaeda
...
fix(iterators): Rename iterator3.rs
fixes #155
2019-06-11 12:53:58 +00:00
Rohan Prinja
080d6cdd11
chore: Fix link to Arc<T> in the book
2019-06-09 13:45:53 +02:00
Russell Cousineau
433d2115bc
fix(iterators): Rename iterator3.rs
2019-06-07 14:42:44 -07:00
bors
41170ce341
Auto merge of #164 - HanKruiger:master, r=komaeda
...
Fix broken link
2019-05-26 14:07:16 +00:00
gushroom
fd1441d122
fixed outdated links
2019-05-26 14:57:56 +02:00
HanKruiger
e1422c6443
Fix broken link
2019-05-26 14:45:04 +02:00
Brian Kung
9b92aa08ae
Adds a simple exercise for structures
2019-05-25 06:39:58 -05:00
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
2019-05-23 11:01:15 +00:00
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>
2019-05-23 12:21:42 +03:00
bors
fffbb60ed9
Auto merge of #161 - c-rustacean:rustfmt-and-ws-fixes, r=komaeda
...
Rustfmt and ws fixes
2019-05-22 12:29:20 +00:00
Eddy Petrisor
9aec4abc4d
rustfmt the exercises
...
Signed-off-by: Eddy Petrisor <eddy.petrisor@gmail.com>
2019-05-22 14:50:40 +03:00
Eddy Petrisor
a53b3f199f
iterator3.rs: whitespace fixes
...
Signed-off-by: Eddy Petrisor <eddy.petrisor@gmail.com>
2019-05-22 14:50:40 +03:00
Eddy Petrisor
d6d696b66a
errorsn.rs: Separate hints from code, so hints are not accidentally seen
...
Signed-off-by: Eddy Petrisor <eddy.petrisor@gmail.com>
2019-05-22 14:50:39 +03:00
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
2019-05-12 14:54:37 +02:00
Yvan Sraka
a71bc62c29
Add errors to exercises that compile without user changes
2019-04-22 00:09:30 +02:00
Diod FR
d7e58ee1af
Fix links by deleting book version
2019-04-08 22:02:04 +02:00
zacanger
c5a374fbf2
Fix permissions on source files
2019-03-23 14:19:42 -06:00
Kyle Isom
c1f4257a91
errors2.rs: update link to Rust book.
2019-03-16 19:22:06 -07:00
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
2019-02-15 12:06:05 +01:00
Jean-Philippe Moresmau
4e3bd8d51b
Renamed readme files properly
2019-01-29 21:19:04 +01:00
Jean-Philippe Moresmau
3073ff3f82
Renamed readme files properly
2019-01-29 21:16:59 +01:00
liv
05f65d67ae
thematically refactor modules2
2019-01-23 21:56:05 +01:00
liv
a49a22071a
redo the section readmes
2019-01-23 21:02:06 +01:00
liv
dc1f3b79f8
add tests; refactor exercise links
2019-01-23 20:48:01 +01:00
liv
17e12433cb
add a test
2019-01-09 21:47:50 +01:00
liv
b90f642029
remove the ex*.rs files
2019-01-09 21:26:12 +01:00
delet0r
b0c9b33978
Changed Rust Book versions in links to 2018
...
Forgot to add changes to last commit.
2018-11-27 10:54:01 +01:00
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.
2018-11-26 16:43:42 +01:00
olivia
f7846af7ac
right let's try this one again
2018-11-09 20:31:14 +01:00