about summary refs log tree commit diff
path: root/src/doc/reference.md
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-24Remove keywords from reference because they're already in grammarmdinger-25/+0
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-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 #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-23Update and organize the Keywords tableMatt Brubeck-4/+5
* Add two missing keywords, `Self` and `proc` * Fix some mis-alphabetized keywords
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-20Remove feature gated examples from the reference.Steve Klabnik-115/+22
The slice patterns example was nice, so let's put it with the other slice pattern feature gate documentation. Fixes #24573
2015-04-17Remove obsolete discusison of runtime, promote `Linkage` to chapter.Graydon Hoare-38/+1
2015-04-17Improve memory-model section very slightly.Graydon Hoare-2/+4
2015-04-17Improve special-traits section very slightly.Graydon Hoare-8/+10
2015-04-17Eliminate the obsolete term 'slot'.Graydon Hoare-24/+24
2015-04-17Clean up section on Type aliases.Graydon Hoare-12/+5
2015-04-17Trim florid language.Graydon Hoare-7/+5
2015-04-16document missing attributes in the referenceSteve Klabnik-1/+11
Fixes #24406
2015-04-16Fix some documentation typosLuke Gallagher-3/+3
2015-04-14Positive case of `len()` -> `is_empty()`Tamir Duberstein-1/+1
`s/(?<!\{ self)(?<=\.)len\(\) == 0/is_empty()/g`
2015-04-01Fallout in public-facing and semi-public-facing libsNiko Matsakis-1/+5
2015-03-31std: Clean out #[deprecated] APIsAlex Crichton-4/+0
This commit cleans out a large amount of deprecated APIs from the standard library and some of the facade crates as well, updating all users in the compiler and in tests as it goes along.
2015-03-31Rollup merge of #23813 - steveklabnik:gh19733, r=cmrManish Goregaokar-1/+6
Fixes #19733
2015-03-30Make note of noalias in unsafe reference sectionSteve Klabnik-1/+6
Fixes #19733
2015-03-27rollup merge of #23786: alexcrichton/less-quotesAlex Crichton-1/+1
Conflicts: src/test/auxiliary/static-function-pointer-aux.rs src/test/auxiliary/trait_default_method_xc_aux.rs src/test/run-pass/issue-4545.rs
2015-03-27rollup merge of #23794: brson/slicegateAlex Crichton-3/+7
Conflicts: src/test/run-pass/issue-13027.rs