about summary refs log tree commit diff
path: root/src/doc/trpl
AgeCommit message (Collapse)AuthorLines
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-11/+11
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-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-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-23TRPL: Fix link to macro section of referenceGeoffrey Thomas-1/+1
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
2015-04-23Rollup merge of #24673 - steveklabnik:doc_attributes, r=alexcrichtonManish Goregaokar-3/+160
r? @alexcrichton
2015-04-22remove debug and display chapterSteve Klabnik-4/+0
this is too small for its own thing, I think.
2015-04-22TRPL: type aliases and unsized typesSteve Klabnik-2/+130
2015-04-22TRPL: attributes & conditional compilationSteve Klabnik-3/+160
2015-04-22Auto merge of #24671 - steveklabnik:doc_const_static, r=alexcrichtonbors-8/+87
r? @alexcrichton
2015-04-21TRPL: const and staticSteve Klabnik-8/+87
2015-04-21rollup merge of #24636: alexcrichton/remove-deprecatedAlex Crichton-1/+1
Conflicts: src/libcore/result.rs
2015-04-21std: Bring back f32::from_str_radix as an unstable APIAlex Crichton-1/+1
This API was exercised in a few tests and mirrors the `from_str_radix` functionality of the integer types.
2015-04-21rollup merge of #24672: steveklabnik/edit_tuple_structsAlex Crichton-9/+13
I thought I edited all the last little chapters, but I missed this one. r? @alexcrichton
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-21TRPL editing: tuple structsSteve Klabnik-9/+13
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-0/+24
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-0/+24
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.