about summary refs log tree commit diff
path: root/src/doc/guide.md
AgeCommit message (Collapse)AuthorLines
2014-08-03Remove "bin" section from Cargo.tomlDaniel Hofstetter-4/+0
2014-08-03auto merge of #16198 : cakebaker/rust/remove_unused_tuple_struct, r=steveklabnikbors-1/+0
2014-08-02auto merge of #16186 : steveklabnik/rust/guide_cargo_new, r=alexcrichtonbors-53/+30
Two commits here: one to add `cargo new` to the guide, and a second to mention the lockfile that Cargo now generates.
2014-08-02Remove unused tuple structDaniel Hofstetter-1/+0
2014-08-02auto merge of #16175 : ↵bors-14/+14
EduardoBautista/rust/fix-guessing-game-appearing-early, r=steveklabnik Solves: https://github.com/rust-lang/rust/issues/16162
2014-08-02auto merge of #16160 : EduardoBautista/rust/use-bang-at-end-of-hello-world, ↵bors-4/+4
r=alexcrichton Further into the guide "Hello, world!" is used instead of "Hello, world".
2014-08-01Add note about Cargo.lockSteve Klabnik-0/+12
2014-08-01Use cargo new.Steve Klabnik-53/+18
Now that this feature exists, we should use it. Fixes #16078
2014-08-02auto merge of #16119 : steveklabnik/rust/guide_pointers, r=brsonbors-7/+255
This is the next section of the guide, and it's on pointers. It's not done yet, as I need to write the section on ownership and borrowing, but I figured I'd share the rest now, to get feedback on the rest of it while I take some time to get that right.
2014-08-01Move caret under the 'x' variabeEduardo Bautista-3/+3
2014-08-01Use hello_world instead of the guessing_gameEduardo Bautista-11/+11
2014-07-31Be more consistent with "Hello, world!"Eduardo Bautista-4/+4
2014-07-31Guide: pointersSteve Klabnik-7/+255
Not the pointer guide, but the guide section on pointers. Adding a section about patterns for after this, as well.
2014-07-30Guide: testingSteve Klabnik-1/+574
2014-07-29New Guide: crates and modulesSteve Klabnik-9/+351
2014-07-23auto merge of #15899 : aochagavia/rust/guide, r=kballardbors-9/+4
The removed code caused confusion because it is not clear that the type of `y` is actually `()`
2014-07-22Remove misleading code example from The GuideAdolfo Ochagavía-9/+4
The removed code caused confusion because it is not clear that the type of `y` is actually `()`
2014-07-21Guide: fix headingsSteve Klabnik-38/+38
2014-07-21Guessing game explanationSteve Klabnik-70/+879
We now build the game at the end of the first section. I wanted to do it as we went along, but it's too hard with these fundamentals not in place. The rest will do the 'as we go' approach, but I think this is better.
2014-07-21Guide: improve error handlingSteve Klabnik-49/+131
2014-07-18Fix typo.David Vazgenovich Shakaryan-1/+1
2014-07-15Fix cargo install instructionsSteve Klabnik-53/+6
Cargo now comes with Rust
2014-07-15auto merge of #15534 : steveklabnik/rust/guide_stdin, r=brsonbors-0/+106
2014-07-15auto merge of #15531 : steveklabnik/rust/guide_looping, r=brsonbors-4/+137
2014-07-15auto merge of #15434 : steveklabnik/rust/guide_match, r=brsonbors-0/+96
2014-07-11Bump version to 0.12.0-preBrian Anderson-1/+1
2014-07-09Remove car analogy.Steve Klabnik-10/+5
This was super silly anyway. Fixes #15539.
2014-07-09auto merge of #15422 : steveklabnik/rust/guide_compound_data_types, r=brsonbors-3/+273
I'm not happy about the hand-waving around `cmp`, but I'm not sure how to get around it.
2014-07-09auto merge of #15374 : steveklabnik/rust/comments, r=brsonbors-2/+45
I'm leaving off `rustdoc` usage because it won't work unless this is a `pub fn`, and I want to talk about public/private in the context of modules. I'm also not mentioning `//!` because it is exclusively used to provide the overview of a module.
2014-07-08Guide: Standard inputSteve Klabnik-0/+106
2014-07-08Guide: loopingSteve Klabnik-4/+137
2014-07-08Guide: matchSteve Klabnik-0/+96
2014-07-08Guide: commentsSteve Klabnik-2/+45
2014-07-08Guide: complex data typesSteve Klabnik-3/+273
2014-07-06auto merge of #15467 : brson/rust/guideversion, r=alexcrichtonbors-1/+0
2014-07-06auto merge of #15456 : aochagavia/rust/guide, r=alexcrichtonbors-2/+2
Fixes https://github.com/rust-lang/rust/issues/15452
2014-07-05doc: --version no longer displays the host tripleBrian Anderson-1/+0
2014-07-05Improved example in the GuideAdolfo Ochagavía-2/+2
Fixes https://github.com/rust-lang/rust/issues/15452
2014-07-04rustc: Reorder error and note message to reduce confusion.Mike Boutin-3/+4
Moved note after error to reduce confusion when the pair appears in the middle of other errors. Closes #13279.
2014-07-04auto merge of #15343 : alexcrichton/rust/0.11.0-release, r=brsonbors-3/+3
2014-07-03Guide: add mutable binding sectionSteve Klabnik-3/+39
Fixes #15334.
2014-07-03Guide: functionsSteve Klabnik-0/+146
Just a few words about functions and defining them.
2014-07-03Guide: ifSteve Klabnik-0/+147
2014-07-02Merge remote-tracking branch 'origin/master' into 0.11.0-releaseAlex Crichton-14/+226
Conflicts: src/libstd/lib.rs
2014-07-01Guide: variable bindings.Steve Klabnik-0/+210
Whew! Who knew there was so much to say about variables. We probably want to move the guessing game to the rust-lang org, rather than just having it on my GitHub. Or, I could put the code inline. I think it'd be neat to have it as a project, so people can pull it down with Cargo. Until we make that decision, I'll just leave this here.
2014-07-01Re-arrange TOC.Steve Klabnik-11/+12
I'm going to move testing to be right AFTER the guessing game. I wanted it to be borderline TDD, but I think that, since the first example is just one file, it might be a bit overkill. I'm doing this in its own commit to hopefully avoid merge conflicts.
2014-06-30auto merge of #15247 : smenardpw/rust/patch-1, r=alexcrichtonbors-2/+2
./hello_world is not recognized on Windows. We can type either hello_world or hello_world.exe to run the executable. I chose "hello_world.exe", which seems more conventional on Windows.
2014-06-30Little typo fixsmenardpw-2/+2
- ./hello_world which is not recognized on Windows fixed. - .exe extension added. - Little rewriting.
2014-06-29it -> CargoSteve Klabnik-2/+3
It wasn't clear if we needed to install Hello World or Cargo.
2014-06-27Update to 0.11.0 0.11.0Alex Crichton-3/+3