summary refs log tree commit diff
path: root/src/doc
AgeCommit message (Collapse)AuthorLines
2015-08-10Remove reference to diabetesSteve Klabnik-2/+1
1. this isn't actually true about diabetes 2. people with diabetes will get *real sad* when reading this 3. it isn't actually necessary. (backport of https://github.com/rust-lang/rust/pull/27576)
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-04Auto merge of #27444 - Gankro:nomicon, r=brsonbors-34/+38
Closes #27412 r? @brson
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-03rename TARPL to The RustinomiconAlexis Beingessner-34/+38
2015-08-03reference: follow idiom in this tiny snippetTshepang Lekhonkhobe-2/+2
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-08-01Rollup merge of #27423 - oli-obk:patch-1, r=GankroManish Goregaokar-7/+15
2015-08-01Rollup merge of #27419 - cpjreynolds:master, r=GankroManish Goregaokar-6/+6
Corrects formatting of bullet-ed sentences and changes 'pervasive use raw pointers' to 'pervasive use of raw pointers'.
2015-07-31Auto merge of #27418 - taliesinb:tarpl-typo, r=alexcrichtonbors-2/+2
this makes the second code block consistent with the first code block -- other than being in reversed order, the first code block claims b is u16 and c is u32, whereas the second code block claims the opposite. seems to be an obvious typo.
2015-07-31Auto merge of #27414 - Gankro:tarpl-fixes, r=alexcrichtonbors-229/+237
This is *mostly* reducing *my* use of *italics* but there's some other misc changes interspersed as I went along. This updates the italicizing alphabetically from `a` to `ra`. r? @steveklabnik
2015-07-31last of the emphasis cleanupAlexis Beingessner-84/+89
2015-07-31fix code and error to match the surronding textOliver Schneider-7/+15
2015-07-30Minor grammatical changes to send-and-sync.Cole Reynolds-6/+6
Corrects formatting of bullet-ed sentences and changes 'pervasive use raw pointers' to 'pervasive use of raw pointers'
2015-07-30fix switched-round 'b' and 'c'Taliesin Beynon-2/+2
2015-07-30frob emphasisAlexis Beingessner-124/+132
2015-07-30make the intro less scaryAlexis Beingessner-20/+15
2015-07-30fix title-casingAlexis Beingessner-1/+1
2015-07-30tarpl: Change norun to no_runAlex Crichton-2/+2
Needs the underscore for rustdoc to not actually run it.
2015-07-30Implement Win64 eh_personality natively.Vadim Chugunov-0/+4
2015-07-30Maybe ignore the explicit examples of a race conditionAlexis Beingessner-1/+19
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-30Auto merge of #27032 - Gankro:tarpl, ↵bors-0/+5432
r=aturon,acrichto,arielb,pnkfelix,nrc,nmatsakis,huonw I've been baking this out of tree for long enough. This is currently about ~2/5ths the size of TRPL. Time to get it in tree so it can be more widely maintained and scrutinized. I've preserved the whole gruesome history including various rewrites. I can definitely squash these a fair amount if desired. Some random people submitted minor fixes though, so they're mixed in. Edit: forgot to link to rendered http://cglab.ca/~abeinges/blah/turpl/_book/ Edit2: To streamline the review process, I'm going to break this into sections that need official "domain expert" approval: # Summary * [ ] references.md -- very important, needs work * [x] Meet Safe and Unsafe: reviewed by @aturon * [x] Data Layout: reviewed by @arielb1 * [x] Ownership: reviewed by @aturon ( and sorta @nikomatsakis ) -- significantly updated, may need re-r * [x] Coversions: reviewed by @nrc * [x] Uninitialized Memory: reviewed by @pnkfelix * [x] Ownership-Oriented Resource Management: reviewed by @aturon * [x] Unwinding: reviewed by @alexcrichton * [x] Concurrency: reviewed by @aturon * [x] Implementing Vec: r? @huonw
2015-07-29fix example codeAlexis Beingessner-7/+9
2015-07-29add warning about reference sectionAlexis Beingessner-0/+4
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-28clarify subtypingAlexis Beingessner-4/+4
2015-07-28fix borrow-splittingAlexis Beingessner-10/+9
2015-07-28fix incorrect nameAlexis Beingessner-1/+1
2015-07-28lots more felix fixesAlexis Beingessner-74/+104
2015-07-28many many pnkfelix fixesAlexis Beingessner-126/+200