Commit Graph

669 Commits (183237c8589b4fbd367f03fe7693e95559493ba8)
 

Author SHA1 Message Date
olivia 8ea1b17fd9 format 6 years ago
olivia 97efff760d use macros 6 years ago
olivia 595a91df55 experiment 6 years ago
olivia 8ecc1e6ff1 move to another file 6 years ago
olivia d0e3a6e770 make return explicit 6 years ago
olivia 7148233950 add a sample 6 years ago
olivia 3ffefa32e1 init new cargo project 6 years ago
olivia 5e89d1e888 move old files to a separate directory 6 years ago
olivia 32ac403da5 wipe readme 6 years ago
Hynek Schlawack 3182b4d9ec Fix error_handling examples to use the ? operator 7 years ago
Carol (Nichols || Goulding) 65bedf2d90 Regenerate README 7 years ago
Carol (Nichols || Goulding) 18d047c984
Make a trivial change to make sure the readme gets regenerated 7 years ago
Carol (Nichols || Goulding) 548bdc2c5e
Not having anything to commit isn't an error 7 years ago
Carol (Nichols || Goulding) 56d7cdcfb1 Regenerate README 7 years ago
Carol (Nichols || Goulding) 10a464cbd4
lol i know how to use git i swear 7 years ago
Carol (Nichols || Goulding) cda85957b9
Origin already exists, oops 7 years ago
Carol (Nichols || Goulding) cef6f8e05a
Auto commit changes to the README
Let's see if this infinite loops or not...
7 years ago
Carol (Nichols || Goulding) bcba928f17
Start of trying to make travis update the readme 7 years ago
Carol (Nichols || Goulding) 0c46f91fac
Merge remote-tracking branch 'origin/pr/72' 7 years ago
Carol (Nichols || Goulding) 510e9f884d
Update generated README 7 years ago
Carol (Nichols || Goulding) 05fcc8d629
Merge pull request #63 from bjornwsv/patch-1
Update modules2.rs
7 years ago
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
maarten 1d27151af8 Fixed two typos in hinttext 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
bjornwsv 06a46e0b5a Update modules2.rs
Your wish seems to have been granted:) 

The compiler now says:  
error[E0603]: constant `democrat` is private
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