about summary refs log tree commit diff
path: root/src/doc/trpl
AgeCommit message (Collapse)AuthorLines
2015-01-12Small grammar fix in the bookSteve Klabnik-2/+2
Fixes #20993
2015-01-12Fix text in TRPL macros guide to match the exampleAlexander Korolkov-3/+12
Also, update description of macro invocation syntax: after https://github.com/rust-lang/rust/pull/20563 there is a number of additional limitations on macro syntax.
2015-01-12Remove usage and reference of feature(globs) from the bookCam Jackson-8/+1
2015-01-12Purge references to Rust tasks from TRPL.Paul Crowley-14/+13
2015-01-11Replace uint with u32 in trpl/guessing-game.mdCarVac-39/+39
uint was recently deprecated, so in following the use of i32 at first, replace all references to uint with u32. Also change literals from e.g. 100u to 100, so that they are no longer usize.
2015-01-12Merge pull request #20966 from Valloric/ownership-fixbors-39/+39
Fixing integer usage in ownership doc Reviewed-by: steveklabnik
2015-01-12Merge pull request #20956 from angst7/docfixes1bors-3/+3
replace deprecated uint references with u32 in trpl/looping.md Reviewed-by: Gankro
2015-01-12Merge pull request #20933 from gifnksm/patch-1bors-1/+1
TRPL: `cargo build` doesn't run executables Reviewed-by: alexcrichton
2015-01-12Merge pull request #20930 from charmeleon/masterbors-3/+3
Switching out range(0,10) example to 0..10. Tests fine Reviewed-by: brson
2015-01-12Merge pull request #20926 from xnil/patch-1bors-1/+1
Hepburn romanization of さようなら Reviewed-by: huonw
2015-01-12Merge pull request #20898 from sebras/trplbors-12/+13
Cosmetic updates to TRPL text Reviewed-by: steveklabnik
2015-01-12Merge pull request #20877 from killercup/patch-4bors-1/+1
Error Guide: Add Line Break to Robert Burns Quote Reviewed-by: steveklabnik
2015-01-12Merge pull request #20820 from sellibitze/closure-docbors-12/+14
Closure documentation: Fix boxed closure left-over Reviewed-by: steveklabnik
2015-01-11Fixing integer usage in ownership docStrahinja Val Markovic-39/+39
`int` doesn't exist anymore. Usage of its equivalent `isize` is discouraged since its size is platform-dependent. `i32` is used instead in the examples. Also, integer suffixes aren't needed in the examples anymore so we can just write `5` instead of `5i`.
2015-01-11replace deprecated uint references with u32Matt Roche-3/+3
Replaced uint references with u32 to prevent compiler warnings.
2015-01-11`cargo build` doesn't run the executablesNAKASHIMA, Makoto-1/+1
2015-01-11Switching out range(0,10) example to 0..10. Tests fineErick Rivas-3/+3
2015-01-11Correct romanization of さようならCarter Hinsley-1/+1
2015-01-10Cosmetic updates to TRPL textSebastian Rasmussen-12/+13
* Make messages match rustc's error messages * Use correct function name in example * Rewording to match previously presented material
2015-01-10Add Line Break to Robert Burns QuotePascal Hertleif-1/+1
2015-01-10Merge pull request #20851 from englishm/patch-1bors-1/+1
Docs: Should be `assert_eq!` not `assert_eq` Reviewed-by: sfackler
2015-01-10Merge pull request #20849 from scode/scode/fix-book-typobors-1/+1
Fix typo in documentation. Reviewed-by: sfackler
2015-01-10Merge pull request #20833 from nstoddard/masterbors-2/+2
Fix a couple wording issues in TRPL book Reviewed-by: Gankro
2015-01-10Merge pull request #20819 from GuillaumeGomez/masterbors-1/+1
Fixes typo Reviewed-by: alexcrichton
2015-01-10Merge pull request #20818 from rgs1/fix-guidebors-1/+1
Remove extra dangling period Reviewed-by: alexcrichton
2015-01-10Merge pull request #20817 from killercup/patch-2bors-5/+6
Update Conclusion of The Rust Programming Language Reviewed-by: steveklabnik
2015-01-10Should be `assert_eq!` not `assert_eq`Mike English-1/+1
2015-01-09Fix typo in documentation.Peter Schuller-2/+2
2015-01-10auto merge of #20782 : iKevinY/rust/trpl-formatting, r=steveklabnikbors-139/+139
Here's my PR for the changes discussed in #19823. I decided to leave `_these_` types of italics the way there were because it differentiates the use of italics for emphasis from `*key term*` italics. Otherwise, bolded terms have been changed to italics, and single and double quotes have been changed appropriately, depending on their context (my judgement may not be the best, though). r? @steveklabnik (congratulations on #19897 being finalized and merged, by the way!)
2015-01-09Fix a couple wording issues in trpl bookNathan Stoddard-2/+2
2015-01-09documentation: Fix boxed closure left-over and add some words on why we use ↵Sebastian Gesemann-12/+14
a type parameter for closures.
2015-01-09Update advanced.mdGuillaume Gomez-1/+1
2015-01-09Update macro scope introKeegan McAllister-2/+6
2015-01-09Remove extra dangling periodRaul Gutierrez S-1/+1
Signed-off-by: Raul Gutierrez S <rgs@itevenworks.net>
2015-01-09Update Conclusion of The Rust Programming LanguagePascal Hertleif-5/+6
This replaces a obsolete conclusion (based on the original, basic Guide) with links to further documentation sources.
2015-01-08Standardize punctuation & formatting of TRPLKevin Yap-139/+139
This commit is an attempt to standardize the use of punctuation and formatting in "The Rust Programming Language" as discussed in #19823. - Convert bold text to italicized textcwhen referring to terminology. - Convert single-quoted text to italicized or double-quoted text, depending on context. - Use double quotes only in the case of scare quotes or quotations.
2015-01-08Fix dead links in the guide and reorganizeAlex Crichton-655/+90
2015-01-08"The Rust Programming Language"Steve Klabnik-0/+9949
This pulls all of our long-form documentation into a single document, nicknamed "the book" and formally titled "The Rust Programming Language." A few things motivated this change: * People knew of The Guide, but not the individual Guides. This merges them together, helping discoverability. * You can get all of Rust's longform documentation in one place, which is nice. * We now have rustbook in-tree, which can generate this kind of documentation. While its style is basic, the general idea is much better: a table of contents on the left-hand side. * Rather than a almost 10,000-line guide.md, there are now smaller files per section.