Carol (Nichols || Goulding)
7c10d8315b
Add filenames to the link
2018-03-02 20:12:24 -05:00
Robert Lugg
7d7a48b17d
Added filename to top of .rs files
2018-02-21 22:09:53 -08:00
Carol (Nichols || Goulding)
c4b3252845
Merge pull request #67 from robertlugg/patch-1
...
Link to second edition of book
2018-02-20 10:32:31 -05:00
Robert M Lugg
0cd22309a1
Link to second edition of book
2018-02-19 18:43:33 -08:00
bjornwsv
06a46e0b5a
Update modules2.rs
...
Your wish seems to have been granted:)
The compiler now says:
error[E0603]: constant `democrat` is private
2017-09-23 21:45:23 +02:00
Stephen Slatky
34117ad9b9
Changed book links to second edition.
2017-09-02 23:28:13 -04:00
Carol (Nichols || Goulding)
a87d43dc23
Merge pull request #61 from DineshMv/master
...
URL's updated as per first edition
2017-06-18 10:12:20 -04:00
dineshmv
8f772651ee
links updated
2017-06-17 10:44:37 +05:30
Carol (Nichols || Goulding)
b5bbd7247a
Link edits + new exs from jan-schreib, mwilli20, & QuietMisdreavus! ☄️
2017-03-19 10:15:57 -04:00
Carol (Nichols || Goulding)
08071aae39
Word wrap for the playground
2017-03-19 10:10:48 -04:00
Carol (Nichols || Goulding)
133892fc4e
Merge pull request #57 from QuietMisdreavus/macros
...
add macros examples
2017-03-19 10:08:42 -04:00
Carol (Nichols || Goulding)
2ee6e22e5c
Merge pull request #56 from mwilli20/patch-1
...
Create iterators4.rs
2017-03-19 10:02:51 -04:00
Carol (Nichols || Goulding)
4cd095466b
Merge pull request #54 from jan-schreib/patch-1
...
ex1 is compiling
2017-03-19 09:57:18 -04:00
QuietMisdreavus
2b70161b4f
add macros4 example
2017-03-17 09:47:45 -05:00
QuietMisdreavus
248d87a2dd
add macros examples
2017-03-17 09:30:29 -05:00
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()
2017-01-05 22:38:07 -05:00
Jan S
bfd0929cae
ex1 is compiling
...
While trying your exercises I noticed that the ex1.rs code is already compiling.
2017-01-04 00:22:23 +01:00
sarge
2079503b21
changed URLs to https scheme where possible
2016-08-15 07:02:36 +03:00
Carol (Nichols || Goulding)
32131ae811
Incorporate changes from @pindell-matt! 🚀
2016-07-05 09:00:56 -04:00
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.
2016-07-04 13:58:21 -06:00
Carol (Nichols || Goulding)
17d830015c
Too many dashes oops
2016-06-21 11:11:41 -04:00
Carol (Nichols || Goulding)
4378a2c5bf
Add more hints, better test failures, etc to errorsn
2016-06-21 11:10:21 -04:00
Carol (Nichols || Goulding)
0b15e92738
Add another another error exercise
2016-06-21 10:40:32 -04:00
Carol (Nichols || Goulding)
ae46dfd752
Add another error exercise
2016-06-21 10:07:21 -04:00
Carol (Nichols || Goulding)
6a376c1e3d
Update the readme links, oops
2016-06-16 11:38:32 -04:00
Daan van Berkel
0cc668c012
Create tests for if1.rs
...
This provides standardize feedback if a solution is correct. Fixes #46 .
2016-06-14 17:07:36 +02:00
Carol (Nichols || Goulding)
5029525594
Merge pull request #45 from matthewjberger/master
...
Update dead dining philosophers link to the 1.4.0 book example.
2016-06-08 09:27:48 -04:00
Matthew J. Berger
95669896fa
Update dead dining philosophers link to the 1.4.0 book example.
2016-06-07 15:56:55 -07:00
Carol (Nichols || Goulding)
72ec3211a0
Merge pull request #44 from Zajn/zajn/update-hint-text
...
Update hint to reflect new variable binding name
2016-05-31 14:10:12 -04:00
Zachary T Jones
e48efe3c34
Update hint to reflect new variable binding name
2016-05-25 20:23:33 -04:00
Carol (Nichols || Goulding)
a046286bf8
Merge pull request #43 from laboon/wjl_add_test_instructions
...
Add directions on running tests
2016-05-14 17:21:44 -04:00
laboon
6e71d20086
Add directions on running tests
2016-05-12 19:59:44 -04:00
Carol (Nichols || Goulding)
3a172ccf30
Make strings2 less confusing, thank you @glenjamin!! 🎉
...
Fixes #41 .
2016-04-19 16:15:21 -04:00
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 :)
2016-04-19 16:00:30 -04:00
Carol (Nichols || Goulding)
d0f4ee1b39
Merge remote-tracking branch 'origin/pr/40'
2016-04-16 11:32:10 -04:00
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 :)
2016-04-16 11:29:33 -04:00
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.
2016-04-16 10:53:39 -04:00
Carol (Nichols || Goulding)
4587266b82
Rename the first errors exercise to be about Option, link to it
2016-04-16 10:53:39 -04:00
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".
2016-04-16 10:53:39 -04:00
Carol (Nichols || Goulding)
79f0b17473
Add some error handling exercises
2016-04-16 10:53:39 -04:00
Constantin Berhard
78014c0a73
fixed iterator1 exercise by giving the compiler less clues
2016-04-14 12:48:18 +02:00
Constantin Berhard
d989bbebd0
added exercise iterator1 and its solution
2016-04-14 12:16:04 +02:00
Carol (Nichols || Goulding)
203b9167ea
Merge pull request #37 from jwworth/pull_request_1460220767
...
Fix typo
2016-04-09 17:42:05 -04:00
Jake Worth
4d51aeedb4
Fix typo
2016-04-09 12:52:53 -04:00
Carol (Nichols || Goulding)
5d60724a51
Merge pull request #36 from jonathantorres/patch-1
...
Update LICENSE year.
2016-03-27 20:16:52 -04:00
Jonathan Torres
65c78fef44
Update LICENSE year.
2016-03-27 15:57:49 -04:00
Carol (Nichols || Goulding)
a37ea4eb74
Ignore temporary .swp files
2016-02-09 15:23:50 -05:00
Seamus Connor
ff94ef9254
Moved away from deprecated thread::sleep_ms
...
Refactored to use thread::sleep and time::Duration and updated link in
README.md
2016-02-08 14:26:23 -07:00
Carol (Nichols || Goulding)
89ee19802b
Add links to the new primitive types exercises!!
...
Fixes #29 , thank you @ruipserra!!
2016-02-07 12:35:57 -05:00
Carol (Nichols || Goulding)
984f1d7078
Add tuple indexing exercise from @ruipserra!! 👏
...
Connects to #29
2016-02-07 12:34:53 -05:00