about summary refs log tree commit diff
path: root/src/doc
AgeCommit message (Collapse)AuthorLines
2015-04-21rollup merge of #24669: steveklabnik/fixAlex Crichton-0/+2
This section was added but the list wasn't updated.
2015-04-21rollup merge of #24667: steveklabnik/more_editingAlex Crichton-145/+145
r? @alexcrichton
2015-04-21rollup merge of #24665: sw17ch/document-complete-slice-syntaxAlex Crichton-0/+1
The documentation doesn't appear to describe the `&foo[..]` syntax. I tried looking in `primitive-types.html#slices` and `std/primitive.slice.html`. There's an example of partially slicing an array in trpl and a mention of `&foo[..]` in [the standard library documentation](https://doc.rust-lang.org/std/primitive.slice.html), but neither place, from what I can see, actually describes the behavior of `&foo[..]`. +r? @steveklabnik
2015-04-21rollup merge of #24663: steveklabnik/gh24639Alex Crichton-0/+30
Fixes #24639
2015-04-21rollup merge of #24654: mdinger/patch-2Alex Crichton-2/+2
This just fixes some comments made on https://github.com/rust-lang/rust/pull/24632 . The second I think is better unless @steveklabnik actually meant something else.
2015-04-21Document functional update syntaxSteve Klabnik-0/+30
Fixes #24639
2015-04-21Add research to README of TRPLSteve Klabnik-0/+2
This section was added but the list wasn't updated.
2015-04-21small edits for recently written book chaptersSteve Klabnik-145/+145
2015-04-21Add an example of completely slicing an object.John Van Enk-0/+1
2015-04-21Refocus unsafe code chapter on unsafe itself.Steve Klabnik-2/+3
2015-04-21Fix typosmdinger-2/+2
2015-04-20Refocus unsafe code chapter on unsafe itself.Steve Klabnik-77/+121
2015-04-20Rollup merge of #24643 - steveklabnik:doc_if_let, r=jakub-Steve Klabnik-1/+80
and while let
2015-04-20Rollup merge of #24632 - steveklabnik:casting_guide, r=alexcrichtonSteve Klabnik-1/+87
Due to documenting `transmute`, addresses part of #12905
2015-04-20Rollup merge of #24631 - steveklabnik:unsafe_guide, r=alexcrichtonSteve Klabnik-101/+124
Many unsafe features are now in the unstable section, so this section is really just about raw pointers now. That also makes sense for its place in the TOC. This addresses part of #12905.
2015-04-20Rollup merge of #24630 - steveklabnik:quickfix, r=alexcrichtonSteve Klabnik-1/+1
2015-04-20Rollup merge of #24577 - steveklabnik:gh24573, r=alexcrichtonSteve Klabnik-115/+46
Fixes #24573
2015-04-20Rollup merge of #24571 - steveklabnik:editing, r=alexcrichtonSteve Klabnik-503/+404
A bunch of chapters, fixes an issue or two as well. r? @alexcrichton
2015-04-20Rollup merge of #24516 - steveklabnik:gh22621, r=alexcrichtonSteve Klabnik-0/+110
Fixes #22621
2015-04-20TRPL: if letSteve Klabnik-1/+80
and while let
2015-04-20Add common macros to TRPLSteve Klabnik-0/+110
Fixes #22621
2015-04-20TRPL: unsafe -> raw pointersSteve Klabnik-101/+124
Many unsafe features are now in the unstable section, so this section is really just about raw pointers now. That also makes sense for its place in the TOC. This addresses part of #12905.
2015-04-20Remove feature gated examples from the reference.Steve Klabnik-115/+46
The slice patterns example was nice, so let's put it with the other slice pattern feature gate documentation. Fixes #24573
2015-04-20TRPL: castingSteve Klabnik-1/+87
Due to documenting `transmute`, addresses part of #12905
2015-04-20Fix small typo in TRPL introSteve Klabnik-1/+1
2015-04-20TRPL edits: genericsSteve Klabnik-40/+72
2015-04-20Remove inverse example from generics part of TRPLSteve Klabnik-85/+0
Fixes #24325.
2015-04-20TRPL edits: traitsSteve Klabnik-189/+101
Let's talk about generics first, since we use traits to bound them in funtions. Partially addresses #24325 Fixes #24271
2015-04-20move Deref coercions to syntax and semanticsSteve Klabnik-1/+1
It's a language feature, so it belongs here.
2015-04-20TRPL copyedits: stringsSteve Klabnik-23/+91
2015-04-20TRPL editing: vectorsSteve Klabnik-21/+42
2015-04-20Move drop back in TRPL TOCSteve Klabnik-1/+1
It's a trait implementation, so we need traits first.
2015-04-20TRPL edits: method syntaxSteve Klabnik-36/+35
2015-04-20TRPL editing: structsSteve Klabnik-5/+5
2015-04-20TRPL editing: move patterns backSteve Klabnik-1/+1
We want to talk about how to pattern match on structs, so let's bump it back one.
2015-04-20TRPL editing: patternsSteve Klabnik-4/+36
Partially addresses #24388
2015-04-20TRPL editing: matchSteve Klabnik-15/+16
2015-04-20TRPL editing: enumsSteve Klabnik-104/+25
Now that we're not doing the guessing game, a lot of this is irrelevant.
2015-04-19Auto merge of #24572 - steveklabnik:gh24569, r=brsonbors-583/+2
Fixes #24569. Should wait until https://github.com/rust-lang/rust-www/pull/114 is merged.
2015-04-19Auto merge of #24567 - tamird:windows-caviats, r=steveklabnikbors-4/+1
- https://github.com/rust-lang/rust/issues/1237 is closed - `libgcc` is now statically linked: https://github.com/rust-lang/rust/pull/17471
2015-04-19Auto merge of #24554 - tshepang:let-faq, r=steveklabnikbors-4/+5
2015-04-18Auto merge of #24383 - avdi:patch-1, r=steveklabnikbors-1/+1
"Dynamically typed" didn't seem like a relevant distinction; there are statically-compiled dynamically-typed languages. Another term that might work here (despite being notoriously vague) is "scripting languages".
2015-04-18Remove the 30 minute introSteve Klabnik-583/+2
Fixes #24569.
2015-04-18Update Windows caveatsTamir Duberstein-4/+1
- https://github.com/rust-lang/rust/issues/1237 is closed - `libgcc` is now statically linked: https://github.com/rust-lang/rust/pull/17471
2015-04-19fix doctest (fixup #24466)Manish Goregaokar-1/+1
2015-04-18Rollup merge of #24548 - graydon:reference-tidying, r=steveklabnikManish Goregaokar-96/+53
This just deletes some egregious lies and obsolete terminology -- all of which I originally wrote -- from the reference. I expect the reference itself will be deleted soon enough, but I found myself gritting teeth over these bits too much to let them into a 1.0 release.
2015-04-18Rollup merge of #24466 - steveklabnik:more_more_more, r=alexcrichtonManish Goregaokar-3/+105
Link to the big chapter for now, and add move semantics.
2015-04-18doc: improve/fix 'let' FAQTshepang Lekhonkhobe-4/+5
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