Carol (Nichols || Goulding)
1d20c22d3f
Update the updated book links
7 years ago
Carol (Nichols || Goulding)
291182d308
Merge remote-tracking branch 'origin/pr/62'
7 years ago
Carol (Nichols || Goulding)
6e2d953aa6
Update to btbytes' prlink because they merged my PR already!!
7 years ago
Carol (Nichols || Goulding)
956ffa9d7c
Fix line numbers
...
Fixes #69 .
7 years ago
Carol (Nichols || Goulding)
426e5cf3f5
Don't be lazy, actually read the file instead of including it at compile time
7 years ago
Carol (Nichols || Goulding)
70aa18699b
Make a handlebars helper that uses prlink to generate a link from a file
7 years ago
Carol (Nichols || Goulding)
b11fb2f5a1
Redo line wrapping at 100 chars
7 years ago
Carol (Nichols || Goulding)
2ac0d5982c
Introduce handlebars to be able to do templating
7 years ago
Carol (Nichols || Goulding)
87d8131f1f
Start a script to regenerate README.md from a template
...
So far this doesn't actually do any templating, just adds a note about
the README being autogenerated :)
7 years ago
Carol (Nichols || Goulding)
7c10d8315b
Add filenames to the link
7 years ago
Robert Lugg
7d7a48b17d
Added filename to top of .rs files
7 years ago
Carol (Nichols || Goulding)
c4b3252845
Merge pull request #67 from robertlugg/patch-1
...
Link to second edition of book
7 years ago
Robert M Lugg
0cd22309a1
Link to second edition of book
7 years ago
Stephen Slatky
34117ad9b9
Changed book links to second edition.
7 years ago
Carol (Nichols || Goulding)
a87d43dc23
Merge pull request #61 from DineshMv/master
...
URL's updated as per first edition
7 years ago
dineshmv
8f772651ee
links updated
7 years ago
Carol (Nichols || Goulding)
b5bbd7247a
Link edits + new exs from jan-schreib, mwilli20, & QuietMisdreavus! ☄️
8 years ago
Carol (Nichols || Goulding)
08071aae39
Word wrap for the playground
8 years ago
Carol (Nichols || Goulding)
133892fc4e
Merge pull request #57 from QuietMisdreavus/macros
...
add macros examples
8 years ago
Carol (Nichols || Goulding)
2ee6e22e5c
Merge pull request #56 from mwilli20/patch-1
...
Create iterators4.rs
8 years ago
Carol (Nichols || Goulding)
4cd095466b
Merge pull request #54 from jan-schreib/patch-1
...
ex1 is compiling
8 years ago
QuietMisdreavus
2b70161b4f
add macros4 example
8 years ago
QuietMisdreavus
248d87a2dd
add macros examples
8 years ago
Matthew Williamson
e0274e07d0
Create iterators4.rs
...
Tackles https://github.com/carols10cents/rustlings/issues/15 . I think this allows for varying levels of difficulty depending on a users background. But ideally people can move there way up from 1, 2, 3 (Numbers below).
1.
let mut result = 1;
for i in 1..x + 1 {
result *= i;
}
result
2.
match x {
0 | 1 => 1,
x => x * factorial(x - 1),
}
3.
(1..x + 1).product()
8 years ago
Jan S
bfd0929cae
ex1 is compiling
...
While trying your exercises I noticed that the ex1.rs code is already compiling.
8 years ago
sarge
2079503b21
changed URLs to https scheme where possible
8 years ago
Carol (Nichols || Goulding)
32131ae811
Incorporate changes from @pindell-matt! 🚀
8 years ago
Matt Pindell
cdcec9ca20
Update "strings2.rs" link
...
Add 1 new-line to the "strings2.rs" link on rust playground so that the hints at the bottom are completely obscured on initial load.
Used the "Shorten Link" option from the Playground to create the new url.
8 years ago
Carol (Nichols || Goulding)
17d830015c
Too many dashes oops
8 years ago
Carol (Nichols || Goulding)
4378a2c5bf
Add more hints, better test failures, etc to errorsn
8 years ago
Carol (Nichols || Goulding)
0b15e92738
Add another another error exercise
8 years ago
Carol (Nichols || Goulding)
ae46dfd752
Add another error exercise
8 years ago
Carol (Nichols || Goulding)
6a376c1e3d
Update the readme links, oops
8 years ago
Daan van Berkel
0cc668c012
Create tests for if1.rs
...
This provides standardize feedback if a solution is correct. Fixes #46 .
8 years ago
Carol (Nichols || Goulding)
5029525594
Merge pull request #45 from matthewjberger/master
...
Update dead dining philosophers link to the 1.4.0 book example.
8 years ago
Matthew J. Berger
95669896fa
Update dead dining philosophers link to the 1.4.0 book example.
8 years ago
Carol (Nichols || Goulding)
72ec3211a0
Merge pull request #44 from Zajn/zajn/update-hint-text
...
Update hint to reflect new variable binding name
8 years ago
Zachary T Jones
e48efe3c34
Update hint to reflect new variable binding name
8 years ago
Carol (Nichols || Goulding)
a046286bf8
Merge pull request #43 from laboon/wjl_add_test_instructions
...
Add directions on running tests
9 years ago
laboon
6e71d20086
Add directions on running tests
9 years ago
Carol (Nichols || Goulding)
3a172ccf30
Make strings2 less confusing, thank you @glenjamin!! 🎉
...
Fixes #41 .
9 years ago
Carol (Nichols || Goulding)
4bf727cbf7
Incorporate ConnyOnny's iterator exercise!
...
- Deciding not to have solutions in the tree right now, until I figure
out a more general way to handle that.
- The assertions work really great as tests, actually!
- Simplifying a few of the side points-- I think they deserve their own
exercises :)
9 years ago
Carol (Nichols || Goulding)
d0f4ee1b39
Merge remote-tracking branch 'origin/pr/40'
9 years ago
Carol (Nichols || Goulding)
65cc4cf12c
Add jleedev's try!, From, and Error exercise! ✨
...
Made some modifications to clarify the structure since this is a bigger
example, also added some more hints.
Name it errorsn since I think we could still use more exercises between
errors1 and errorsn, but I've been sitting on these too long as it is :)
9 years ago
Carol (Nichols || Goulding)
c21fb10ae4
Add an exercise for rewriting Option to be Result
...
In the case where you'd like to provide an explanation why the function
isn't able to do the thing, rather than just not doing the thing.
9 years ago
Carol (Nichols || Goulding)
4587266b82
Rename the first errors exercise to be about Option, link to it
9 years ago
Carol (Nichols || Goulding)
d145c6334f
Start an error handling section and move the result exercise there
...
I think this is a better categorization than "standard library types".
9 years ago
Carol (Nichols || Goulding)
79f0b17473
Add some error handling exercises
9 years ago
Constantin Berhard
78014c0a73
fixed iterator1 exercise by giving the compiler less clues
9 years ago
Constantin Berhard
d989bbebd0
added exercise iterator1 and its solution
9 years ago