about summary refs log tree commit diff
path: root/src/doc
AgeCommit message (Collapse)AuthorLines
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-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.
2015-04-23Fixed typoLee Aronson-1/+1
2015-04-23Improve information about loopsLee Aronson-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-23Also mention `/*!` doc comments.Matt Brubeck-4/+5
2015-04-23TRPL: Remove references to "advanced macros chapter"Geoffrey Thomas-3/+2
This was merged back into the regular macros chapter, but a few references lingered and caused broken links.
2015-04-23Update and organize the Keywords tableMatt Brubeck-4/+5
* Add two missing keywords, `Self` and `proc` * Fix some mis-alphabetized keywords
2015-04-23TRPL: Fix link to macro section of referenceGeoffrey Thomas-1/+1
2015-04-23Clarify that //! comments are also doc comments.Matt Brubeck-3/+4
2015-04-23Update supported values of target_osVadim Chugunov-1/+1
'win32' -> 'windows', added 'ios'
2015-04-23typo 2nwin-1/+1
2015-04-23typonwin-1/+1
2015-04-23object type -> trait objectnwin-8/+8
Consistency. The book also refers to it as trait objects.
2015-04-23Reference audit: section 5 (Crates and source files)Robin Kruppe-10/+25
2015-04-23Stop mentioning obsolete integer suffixesAndrzej Janik-1/+1
`us` and `is` were replaced with `usize` and `isize` some time ago.
2015-04-23Auto merge of #24664 - steveklabnik:doc_ufcs, r=alexcrichtonbors-1/+125
AKA, two four-letter acronyms :wink: This feels a bit light, if there's other things I should add, let me know.
2015-04-23fix doctestManish Goregaokar-1/+1
2015-04-22TRPL: UFCSSteve Klabnik-1/+125
AKA, two four-letter acronyms :wink:
2015-04-23Rollup merge of #24675 - steveklabnik:two_more_chapters, r=alexcrichtonManish Goregaokar-2/+130
Two more chapters of TRPL. The `type` one is pretty straightforward, but I wasn't really sure what to put for unsized types. I just explained the very basics, and the special bounds syntax. Thoughts on what else should go here? r? @alexcrichton