Commit graph

822 commits

Author SHA1 Message Date
olivia
5310dfd406 make the initial output prettier 2018-05-16 15:27:57 +02:00
olivia
39b3e3225a add another example 2018-05-16 15:27:52 +02:00
olivia
d9946a91d4 make the example work 2018-05-16 15:23:14 +02:00
olivia
8ea1b17fd9 format 2018-05-14 19:13:13 +02:00
olivia
97efff760d use macros 2018-05-14 18:41:58 +02:00
olivia
595a91df55 experiment 2018-05-06 18:59:50 +02:00
olivia
8ecc1e6ff1 move to another file 2018-05-06 17:27:03 +02:00
olivia
d0e3a6e770 make return explicit 2018-04-26 22:15:18 +02:00
olivia
7148233950 add a sample 2018-04-26 22:14:20 +02:00
olivia
3ffefa32e1 init new cargo project 2018-04-26 21:41:19 +02:00
olivia
5e89d1e888 move old files to a separate directory 2018-04-26 21:29:11 +02:00
olivia
32ac403da5 wipe readme 2018-04-26 21:21:28 +02:00
Hynek Schlawack
3182b4d9ec Fix error_handling examples to use the ? operator 2018-03-06 16:29:37 +01:00
Carol (Nichols || Goulding)
65bedf2d90 Regenerate README 2018-03-06 01:11:29 +00:00
Carol (Nichols || Goulding)
18d047c984
Make a trivial change to make sure the readme gets regenerated 2018-03-05 20:10:19 -05:00
Carol (Nichols || Goulding)
548bdc2c5e
Not having anything to commit isn't an error 2018-03-05 20:05:27 -05:00
Carol (Nichols || Goulding)
56d7cdcfb1 Regenerate README 2018-03-05 15:08:02 +00:00
Carol (Nichols || Goulding)
10a464cbd4
lol i know how to use git i swear 2018-03-05 10:05:53 -05:00
Carol (Nichols || Goulding)
cda85957b9
Origin already exists, oops 2018-03-05 10:00:53 -05:00
Carol (Nichols || Goulding)
cef6f8e05a
Auto commit changes to the README
Let's see if this infinite loops or not...
2018-03-04 17:14:07 -05:00
Carol (Nichols || Goulding)
bcba928f17
Start of trying to make travis update the readme 2018-03-04 16:56:03 -05:00
Carol (Nichols || Goulding)
0c46f91fac
Merge remote-tracking branch 'origin/pr/72' 2018-03-04 16:35:38 -05:00
Carol (Nichols || Goulding)
510e9f884d
Update generated README 2018-03-04 16:34:22 -05:00
Carol (Nichols || Goulding)
05fcc8d629
Merge pull request #63 from bjornwsv/patch-1
Update modules2.rs
2018-03-04 16:34:02 -05:00
Carol (Nichols || Goulding)
1d20c22d3f
Update the updated book links 2018-03-04 16:31:07 -05:00
Carol (Nichols || Goulding)
291182d308
Merge remote-tracking branch 'origin/pr/62' 2018-03-04 14:32:27 -05:00
Carol (Nichols || Goulding)
6e2d953aa6
Update to btbytes' prlink because they merged my PR already!! 2018-03-04 14:28:11 -05:00
Carol (Nichols || Goulding)
956ffa9d7c
Fix line numbers
Fixes #69.
2018-03-04 14:26:56 -05:00
Carol (Nichols || Goulding)
426e5cf3f5
Don't be lazy, actually read the file instead of including it at compile time 2018-03-04 14:13:55 -05:00
Carol (Nichols || Goulding)
70aa18699b
Make a handlebars helper that uses prlink to generate a link from a file 2018-03-04 14:11:11 -05:00
Carol (Nichols || Goulding)
b11fb2f5a1
Redo line wrapping at 100 chars 2018-03-04 13:42:44 -05:00
Carol (Nichols || Goulding)
2ac0d5982c
Introduce handlebars to be able to do templating 2018-03-04 12:58:40 -05:00
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 :)
2018-03-04 12:41:55 -05:00
maarten
1d27151af8 Fixed two typos in hinttext 2018-03-04 18:14:30 +01:00
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