about summary refs log tree commit diff
path: root/src/doc/reference.md
AgeCommit message (Collapse)AuthorLines
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-23Feature-gate associated constants.Sean Patrick Santos-1/+4
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
2015-03-27Feature gate *all* slice patterns. #23121Brian Anderson-3/+7
Until some backwards-compatibility hazards are fixed in #23121, these need to be unstable. [breaking-change]
2015-03-27rollup merge of #23285: steveklabnik/gh11794Alex Crichton-239/+22
Fixes #11794 I mostly removed superflous examples which use the standard library. I have one more quesiton here though: threads. They're mostly a library thing, at this point, right?
2015-03-27Unquote all crate names without underscoresRicho Healey-1/+1
2015-03-26Mass rename uint/int to usize/isizeAlex Crichton-5/+2
Now that support has been removed, all lingering use cases are renamed.
2015-03-24rollup merge of #23662: steveklabnik/gh23421Alex Crichton-3/+3
I assume since both shifts say the same thing, I should fix both of them, but then I realized I don't strictly know about left shift. Fixes #23421 r? @pnkfelix
2015-03-24correct reference wrt shiftsSteve Klabnik-3/+3
Fixes #23421
2015-03-23Add #![feature] attributes to doctestsBrian Anderson-2/+4
2015-03-23add lifetime for `while` and `for` expressionFuGangqiang-2/+2
2015-03-23fix the attributes sytaxFuGangqiang-1/+1
2015-03-19Rename should_fail to should_panic in docsJohannes Oertel-1/+1
2015-03-16Remove stdlib stuff from the ReferenceSteve Klabnik-239/+22
Fixes #11794
2015-03-16Fallout in testing.Nick Cameron-3/+5
2015-03-12Add monospace font back to literals tablemdinger-8/+8
2015-03-10Rollup merge of #23185 - steveklabnik:gh20051, r=alexcrichtonManish Goregaokar-8/+8
Fixes #20051