summary refs log tree commit diff
path: root/src/doc/trpl
AgeCommit message (Collapse)AuthorLines
2015-08-04Auto merge of #27508 - friedm:remove_integer_suffixes, r=alexcrichtonbors-6/+6
For #27501 r? @steveklabnik
2015-08-04Rollup merge of #27460 - JanLikar:master, r=steveklabnikManish Goregaokar-41/+38
- Fix #26968 by noting the difference between ".." and "_" more explicitly - Change one of the examples to show the match-all behaviour of ".." - Merge "Ignoring variants" and "Ignoring bindings" sections into the latter r? @steveklabnik
2015-08-04Rollup merge of #27397 - Dangthrimble:master, r=steveklabnikManish Goregaokar-19/+21
Clarifications for those new to Rust and Cargo: * It's a good idea to get rid of the original `main.exe` in project root * Slight clarification on the use of `main.rs` vs `lib.rs` * Clarify that the TOML file needs to be in project root
2015-08-03remove unneeded integer suffixes from concurrency chapterMatt Friedman-6/+6
2015-08-03Auto merge of #27210 - vadimcn:win64-eh-pers, r=alexcrichtonbors-0/+4
After this change, the only remaining symbol we are pulling from libgcc on Win64 is `__chkstk_ms` - the stack probing routine.
2015-08-03required -> used; you -> weJonathan Hansford-3/+3
2015-08-03Updated in response to reviewJonathan Hansford-9/+9
2015-08-03Rollup merge of #27464 - killercup:patch-16, r=GankroManish Goregaokar-0/+1
Because Markdown.
2015-08-02Auto merge of #27305 - KieranHunt:master, r=steveklabnikbors-198/+210
I found that the book had little information for `loop`s and `loop` label so I've added some.
2015-08-02TRPL: Add Newline Before HeadlinePascal Hertleif-0/+1
Because Markdown.
2015-08-01Fix "Ignoring variants" in "Patterns" chapterJan Likar-41/+38
- Fix #26968 by noting the difference between ".." and "_" more explicitly - Change one of the examples to show the match-all behaviour of ".." - Merge "Ignoring variants" and "Ignoring bindings" sections into the latter
2015-08-01Adding an ignore annotation to an infinite loop so that it wont hang the tester.Kieran Hunt-1/+1
2015-08-01Fix off-by-one errorDaniel Albert-2/+2
2015-07-30Implement Win64 eh_personality natively.Vadim Chugunov-0/+4
2015-07-30By defaultJonathan Hansford-2/+2
Guessing Game states that "Rust only imports a few things into every program, the ‘prelude’". That isn't strictly true. That is all it imports by default and the change clarifies that point.
2015-07-30Merge branch 'master' of https://github.com/Dangthrimble/rustJonathan Hansford-2/+2
2015-07-30Clarifications for Hello, Cargo!Jonathan Hansford-11/+13
Just a few minor changes to clarify a few things for someone new to Rust and Cargo.
2015-07-30Removing infinite loops fileKieran Hunt-40/+0
2015-07-29Consolidating loop information to a single page. Per PR #27305Kieran Hunt-202/+213
2015-07-30Rollup merge of #27232 - Dangthrimble:master, r=steveklabnikManish Goregaokar-20/+49
Added definitions for 'Expression', 'Expression-Oriented Language' and 'Statement' to glossary. Sorted the definitions alphabetically. r? @steveklabnik
2015-07-29Rollup merge of #27355 - krumelmonster:patch-1, r=alexcrichtonSteve Klabnik-1/+1
Minor change in the book
2015-07-29Rollup merge of #27343 - steveklabnik:fix_module, r=alexcrichtonSteve Klabnik-3/+0
2015-07-29Rollup merge of #27326 - steveklabnik:doc_show_use, r=GankroSteve Klabnik-3/+5
In spirit with https://internals.rust-lang.org/t/should-we-keep-including-obvious-imports-in-code-examples/2217, show the feature flags we're using in examples. (also one instance of 'use')
2015-07-29Rollup merge of #27325 - midinastasurazz:patch-2, r=alexcrichtonSteve Klabnik-2/+2
2015-07-29Rollup merge of #27286 - lastorset:pub, r=steveklabnikSteve Klabnik-0/+4
The reader could probably infer this from the current text, but for C++ programmers it's not obvious that struct fields don't automatically become public. Apparently I wasn't the only one to be confused: http://stackoverflow.com/questions/29157300/field-of-struct-is-private-when-importing-module I don't think an example is necessary, but can add one if desired. r? @steveklabnik
2015-07-28more precise for inclusive rangekrumelmonster-1/+1
2015-07-28remove `get_ident` and `get_name`, make `as_str` soundOliver Schneider-3/+2
2015-07-27remove incorrect statement from TRPL: crates and modulesSteve Klabnik-3/+0
2015-07-27Auto merge of #27284 - lastorset:default-methods, r=Gankrobors-11/+21
Instead of bar/baz, use valid/invalid as default methods. This illustrates why you might want default methods, and shows that you can call other trait methods from a default method. r? @steveklabnik
2015-07-27Show appropriate feature flags in docsSteve Klabnik-3/+5
2015-07-27Fix misrendered HTML character entitiesmidinastasurazz-2/+2
2015-07-27Fix typo: yur -> yourmidinastasurazz-1/+1
2015-07-26Adding docs for loops and loop labels.Kieran Hunt-0/+41
2015-07-25Mention `pub` for structs and fieldsLeif Arne Storset-0/+4
2015-07-25Default methods example: Show "(in)valid" caseLeif Arne Storset-11/+21
Instead of bar/baz, use valid/invalid as default methods. This illustrates why you might want default methods, and shows that you can call other trait methods from a default method.
2015-07-25Commas added, as requested.Jonathan Hansford-2/+2
2015-07-25Auto merge of #26960 - Manishearth:wrapper-types, r=steveklabnikbors-0/+357
@steveklabnik had suggested I do this. This needs much review -- I tried reducing the informal tone but there's room for improvement. r? @steveklabnik
2015-07-25Move wrapper types blog post into trplManish Goregaokar-0/+357
2015-07-24Rollup merge of #27193 - aidanhs:aphs-advanced-linking-doc, r=steveklabnikSteve Klabnik-26/+152
Continuation of #25685.
2015-07-24Rollup merge of #27177 - echochamber:master, r=steveklabnikSteve Klabnik-0/+18
Was browsing somebody else's code and came across a snippet using labels. Looking around, it seems like there was an example for this in [rustbyexample](http://rustbyexample.com/flow_control/loop/nested.html) but none in trpl.
2015-07-24Added link in glossary to expression-oriented languageJonathan Hansford-14/+17
Tidied up glossary.md and added link from hello-world.md to 'expression-oriented language' in glossary.md
2015-07-24Additional information on Expression-Oriented LanguagesJonathan Hansford-0/+2
Added the fact that expression statements can form part of larger expressions.
2015-07-23Added entries to explain expression-oriented languagesJonathan Hansford-16/+40
Added definitions for 'Expression', 'Expression-Oriented Language' and 'Statement'. Sorted the definitions alphabetically.
2015-07-22Added how to use labels to break nested loops to trpl.Jason Schein-0/+18
2015-07-22Additional notes to link-argsAidan Hobson Sayers-2/+4
2015-07-22musl static linking not glibcAidan Hobson Sayers-81/+71
2015-07-22Rollup merge of #27201 - Ticki:master, r=steveklabnikSteve Klabnik-7/+11
Just some small changes.
2015-07-22Rollup merge of #27183 - Dangthrimble:master, r=steveklabnikSteve Klabnik-2/+13
Updated "Installing Rust" and "After installation" to provide additional guidance to Windows users on including Rust in the Path system variable. r? @steveklabnik
2015-07-22Path changed to %PATH%Jonathan Hansford-6/+6
The two references to the "Path system variable" have changed to the "%PATH% system variable".
2015-07-21Static linkingAidan Hobson Sayers-0/+127