1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2024-12-14 11:22:55 +02:00
Commit Graph

2705 Commits

Author SHA1 Message Date
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
Carol (Nichols || Goulding)
bbe1dc5937 Add tuple exercise from @ruipserra! 😻 2016-02-07 12:30:08 -05:00
Carol (Nichols || Goulding)
98cde6f9b1 Add slice exercise from @ruipserra!!! 💫
Connects to #29
2016-02-07 12:24:38 -05:00
Carol (Nichols || Goulding)
eed810652f Oops this is a .rs file, not a .md file 2016-02-07 12:15:30 -05:00
Carol (Nichols || Goulding)
9c39b05bac Add array exercise from @ruipserra!!! 🎆🎆🎆
Connects to #29.
2016-02-07 12:12:24 -05:00
Carol (Nichols || Goulding)
7780a3537a Merge pull request #22 from douglascorrea/master
Changing the IRC chanel to #rust-beginners
2016-02-03 19:46:46 -05:00
Douglas Correa
623cf4c90e Changing the IRC chanel to #rust-beginners 2016-02-03 16:37:51 -02:00
Carol (Nichols || Goulding)
c2bd282af2 Make @ConnyOnny's example be 1st example in the if section! 🎉 2015-11-17 17:59:18 -05:00
Carol (Nichols || Goulding)
f1ce5f4454 Merge remote-tracking branch 'origin/pr/18' 2015-11-17 17:48:53 -05:00
Carol (Nichols || Goulding)
492c6bf594 Update link in README for move semantics 1 2015-11-17 17:36:58 -05:00
Todd Thomas
b345aa9cbf Fix typo in hint for move_semantics1.rs.
When I compile the unedited example in the playground, I get the
error on line 10, not line 8. That's the case for stable, beta,
and nightly.
2015-11-16 17:52:41 -07:00
Constantin Berhard
802e6ac270 exercise for the ternary operator
i.e. if-then-else *expression* in Rust
2015-10-28 00:45:39 +01:00
Carol (Nichols || Goulding)
dbad16021c Add some more common String/&str idioms 2015-10-04 11:42:09 -04:00
Carol (Nichols || Goulding)
7af29d6211 Incorporate Arc exercise from @ConnyOnny!! 🌟 2015-09-30 21:10:26 -04:00
Constantin Berhard
874a891592 added Arc1 to the Readme.md
but without link to rust play
2015-09-30 21:10:24 -04:00
Constantin Berhard
883f31752b Arc1 code added 2015-09-30 21:09:57 -04:00
Carol (Nichols || Goulding)
159330932a Add a shared mutability between threads exercise
Closes #3. Thank you @jdm!!! ❇️
2015-09-29 14:39:25 -04:00
Carol (Nichols || Goulding)
8de7e3e072 Be more specific with what I'm talking about 2015-09-22 22:22:26 -04:00
Carol (Nichols || Goulding)
9057b5697d Rearrange comment to break up bulleted lists 2015-09-22 22:21:38 -04:00
Carol (Nichols || Goulding)
c859550e6c Incorporate Move Semantics exercises from Felix's tutorial
👍 👍 👍

Connects to #6
2015-09-22 22:20:04 -04:00
Carol (Nichols || Goulding)
c6b7f1ba25 Update TODO list 2015-09-20 18:38:05 -04:00
Carol (Nichols || Goulding)
2a23eaced6 Add some exercises about tests! 2015-09-20 18:31:41 -04:00
Carol (Nichols || Goulding)
93869014f4 Add some exercises about Strings and &strs! 2015-09-20 18:03:00 -04:00
Carol (Nichols || Goulding)
ce3b710b13 Add jdm's Result exercise!! 😹
Fixes #10. Thank you!!!
2015-09-18 21:27:25 -04:00
Carol (Nichols || Goulding)
70f8153ed9 Start some primitive types exercises 2015-09-18 21:10:16 -04:00
Carol (Nichols || Goulding)
36a75c733e Just remembered another function one I wanted to do 2015-09-18 20:28:27 -04:00
Carol (Nichols || Goulding)
9336aed2b9 Add module exercises from jdm! 🎉
Fixes #9.
2015-09-17 22:21:56 -04:00
Carol (Nichols || Goulding)
6324eeafe7 Add some exercises about functions! 2015-09-17 21:12:00 -04:00
Carol (Nichols || Goulding)
dbfab88e61 Add hints to the variable bindings exercises 2015-09-17 19:16:30 -04:00
Carol (Nichols || Goulding)
9cf4958982 Reorganize README to have variable bindings first, links to get help 2015-09-17 19:15:22 -04:00
Carol (Nichols || Goulding)
f4c6dcf1d7 Add some exercises about variables! 2015-09-16 20:27:45 -04:00
Carol (Nichols || Goulding)
32900581b9 Add links to the playpen!!!! 2015-09-16 20:04:55 -04:00
Carol (Nichols || Goulding)
253ff9d75c Create ex5.rs 2015-09-16 09:49:09 -04:00
Carol (Nichols || Goulding)
662c651c6f Create ex4.rs 2015-09-15 20:29:05 -04:00