about summary refs log tree commit diff
path: root/src/doc
AgeCommit message (Collapse)AuthorLines
2015-04-26Auto merge of #24825 - rkruppe:reference-audit, r=steveklabnikbors-30/+21
Transplant the relevant changes (turns out to be all of them) to `grammar.md`, and remove all grammar talk from `reference.md`. Sorry for the chaos. The second commit, further below, goes over the comments and whitespace sections. r? @steveklabnik
2015-04-26Auto merge of #24815 - heejongahn:master, r=steveklabnikbors-0/+1
At https://doc.rust-lang.org/book/vectors.html, there should be a link to Generics page but the link address is ommitted and thus link is not functioning well. So I added a link definition to the vectors.md. r? @steveklabnik
2015-04-26Reference audit: comments and whitespace sectionsRobin Kruppe-9/+12
2015-04-25Redo PR #24811 properlyRobin Kruppe-21/+9
Transplant the grammar-related changes to grammar.md, and remove all grammar talk from reference.md
2015-04-26Added a link address to Vectors page of the bookHeejong Ahn-0/+1
At https://doc.rust-lang.org/book/vectors.html, there should be a link to Generics page but the link address is ommitted and thus link is not functioning well. So I added a link definition to the vectors.md. r? @steveklabnik
2015-04-25Rollup merge of #24812 - jest:master, r=steveklabnikManish Goregaokar-8/+8
Conflicts: src/doc/trpl/variable-bindings.md
2015-04-25Rollup merge of #24811 - rkruppe:reference-audit, r=steveklabnikManish Goregaokar-5/+5
Mention `non_ascii_idents` feature gate and remove unused productions. r? @steveklabnik
2015-04-25Rollup merge of #24809 - conradkleinespel:master, r=ManishearthManish Goregaokar-2/+2
The reference has broken links. This should fix it.
2015-04-25Rollup merge of #24806 - FuGangqiang:doc, r=ManishearthManish Goregaokar-10/+10
2015-04-25A number of spell-checking corrections.Przemysław Wesołek-8/+8
2015-04-25Auto merge of #24803 - SkylerLipthay:patch-2, r=huonwbors-4/+5
The description of the syntax for single byte literals is missing the preceding `b` distinction.
2015-04-25Audit reference manual: 3.2 Special unicode productionsRobin Kruppe-5/+5
Mention non_ascii_idents feature gate and remove unused productions
2015-04-25fix compiler plugins path in doc/reference.mdConrad Kleinespel-2/+2
2015-04-25Auto merge of #24783 - jooert:unittestguidelines, r=alexcrichtonbors-15/+15
Changes the style guidelines regarding unit tests to recommend using a sub-module named "tests" instead of "test" for unit tests as "test" might clash with imports of libtest (see #23870, #24030 and http://users.rust-lang.org/t/guidelines-naming-of-unit-test-module/1078 for previous discussions). r? @alexcrichton
2015-04-25fix docFuGangqiang-10/+10
2015-04-24Reference manual 3.5.2.3.1Skyler-4/+5
The description of the syntax for single byte literals is missing the preceding `b` distinction.
2015-04-24More small syntax changes in reference.mdMichael Rosenberg-2/+2
2015-04-24Rollup merge of #24775 - mbrubeck:reference, r=steveklabnikSteve Klabnik-4/+4
Update 7.2.20 (`for` expressions): * `for` loops now use `IntoIterator` instead of just `Iterator` * Simplify the example by removing unnecessary `Vec::iter` call. ...and a fix for a minor formatting error. r? @steveklabnik
2015-04-24Rollup merge of #24766 - nwin:patch-1, r=steveklabnikSteve Klabnik-1/+1
Changed in #22838. audited (raw) byte string literals @ #16676
2015-04-24Rollup merge of #24736 - steveklabnik:doc_mutability, r=alexcrichtonSteve Klabnik-1/+177
Okay, last chapter other than ownership stuff. :confetti_ball:
2015-04-24Rollup merge of #24729 - mdinger:reference_grammar, r=steveklabnikSteve Klabnik-348/+32
From https://github.com/rust-lang/rust/issues/24723#issuecomment-95636827 : > Yes, I've been meaning to just remove it in favor of GRAMMAR.md > - steveklabnik
2015-04-24Rollup merge of #24725 - steveklabnik:doc_operators_and_overloading, ↵Steve Klabnik-2/+82
r=alexcrichton I forgot these heavily use associated types, so move it after that as well.
2015-04-24Rollup merge of #24722 - steveklabnik:doc_deref, r=alexcrichtonSteve Klabnik-5/+121
r? @alexcrichton
2015-04-24TRPL: deref coercionsSteve Klabnik-5/+121
2015-04-24TRPL: mutabilitySteve Klabnik-1/+177
2015-04-24TRPL: operators and overloadingSteve Klabnik-2/+82
I forgot these heavily use associated types, so move it after that as well.
2015-04-24Change name of unit test sub-module to "tests".Johannes Oertel-15/+15
Changes the style guidelines regarding unit tests to recommend using a sub-module named "tests" instead of "test" for unit tests as "test" might clash with imports of libtest.
2015-04-24Remove keywords from reference because they're already in grammarmdinger-25/+0
2015-04-24Updates to grammarmdinger-15/+24
2015-04-24Remove ebnf from referencemdinger-308/+8
2015-04-24[reference] Update 7.2.20: For expressions.Matt Brubeck-3/+3
* `for` loops now use `IntoIterator` instead of just `Iterator` * Simplify the example by removing unnecessary `Vec::iter` call.
2015-04-24[reference] Fix missing formatting.Matt Brubeck-1/+1
2015-04-24Auto merge of #24744 - bluss:reference-1, r=steveklabnikbors-49/+30
Audit & Edit Chapter 8.1 Types in reference manual - Remove mention of unit type - Update closure types and reference types sections - Fix minor typos
2015-04-24reference: Audit & Edit chapter 8.1 Types.Ulrik Sverdrup-49/+30
- Remove mention of unit type - Update closure types and reference types sections - Fix minor typos
2015-04-24Rollup merge of #24727 - rkruppe:reference-audit, r=steveklabnikManish Goregaokar-10/+25
It was in pretty good shape, but since that is my pet peeve, I clarified the compiler/interpreter distinction and why it is irrelevant for this section. Otherwise only a couple of minor clarifications, and weasel words where reality is more complicated than the text accounted for (e.g., there is more than one kind of library). r? @steveklabnik
2015-04-24Rollup merge of #24721 - vosen:patch-1, r=steveklabnikManish Goregaokar-1/+1
`us` and `is` were replaced with `usize` and `isize` some time ago. Other than that, 3.5.2.1.5 is correct.
2015-04-24Rollup merge of #24698 - steveklabnik:remove_debug_display, r=steveklabnikManish Goregaokar-4/+0
this is too small for its own thing, I think.
2015-04-24Byte string literals are now fixed-size arraysnwin-1/+1
Changed in #22838. audited (raw) byte string literals @ #16676
2015-04-24fixup #24754Manish Goregaokar-2/+2
2015-04-24Rollup merge of #24754 - iliekturtles:patch-1, r=steveklabnikManish Goregaokar-21/+21
2015-04-24Rollup merge of #24753 - tynopex:patch-1, r=steveklabnikManish Goregaokar-0/+27
Add section for range expressions.
2015-04-24Rollup merge of #24752 - doomrobo:patch-1, r=steveklabnikManish Goregaokar-17/+8
Updated sample code to updated syntax (now compiles). Also tweaked the text to reflect the change.
2015-04-24Rollup merge of #24750 - withoutboats:patch-1, r=steveklabnikManish Goregaokar-29/+40
1) Moved 'while' section below 'loop', 'break', and 'continue'; 2) Added information to 'while' and 'for' loops that they interact with 'break' and 'continue' and may have a lifetime label. 3) Clarified labeling syntax on the infinite loops.
2015-04-24Rollup merge of #24743 - geofft:trpl-macros-links, r=steveklabnikManish Goregaokar-4/+3
r? @steveklabnik
2015-04-24Rollup merge of #24742 - mbrubeck:keywords, r=steveklabnikManish Goregaokar-4/+5
* Add two missing keywords, `Self` and `proc` * Fix some mis-alphabetized keywords r? @steveklabnik
2015-04-24Rollup merge of #24740 - mbrubeck:reference, r=steveklabnikManish Goregaokar-3/+5
r? @steveklabnik
2015-04-24Rollup merge of #24734 - vadimcn:patch-1, r=alexcrichtonManish Goregaokar-1/+1
'win32' -> 'windows', added 'ios'
2015-04-23Fix spelling errors.Mike Boutin-21/+21
2015-04-23Update reference.mdtynopex-0/+27
Add section for range expressions.
2015-04-23Update "Generic Functions" sectionMichael Rosenberg-17/+8
Updated sample code to updated syntax (now compiles). Also tweaked the text to reflect the change.