about summary refs log tree commit diff
path: root/src/doc/trpl
AgeCommit message (Collapse)AuthorLines
2015-05-05Rollup merge of #25104 - brson:rustup, r=alexcrichtonManish Goregaokar-14/+10
2015-05-05Rollup merge of #25068 - bguiz:patch-3, r=steveklabnikManish Goregaokar-2/+2
- `File::open` is for opening a file in read-only mode - `File::create` is for opening a file in write-only mode, which is what we want instead for this example to make sense
2015-05-04doc: Cargo documentation doesn't have httpsAlex Crichton-1/+1
Right now it's all hosted over GitHub pages so https doesn't work, so only link to the http version.
2015-05-04doc: rustup.sh doesn't require sudoBrian Anderson-14/+10
2015-05-04Auto merge of #25055 - bguiz:patch-2, r=steveklabnikbors-0/+5
- I found n error in the book, before contributing the patch to fix it, I had to find where they were hosted - It took me quite look to find where within the rust-lang *organisation* it was! ... and this should make it easier for the next person in the same position
2015-05-03Auto merge of #24990 - steveklabnik:doc_associated_constants, r=alexcrichtonbors-0/+80
2015-05-03=BG= minor: File::open --> File::create in rust bookBrendan Graetz-2/+2
- `FIle::open` is for opening a file in read-only mode - `FIle::create` is for opening a file in write-only mode, which is what we want instead for this example to make sense
2015-05-02Auto merge of #25058 - steveklabnik:gh25008, r=huonwbors-3/+31
Fixes #25008
2015-05-02TRPL: associated constantsSteve Klabnik-0/+80
2015-05-02Revise @ in patterns sectionSteve Klabnik-3/+31
Fixes #25008
2015-05-02=BG= minor: add link to book source filesBrendan Graetz-0/+5
- I found n error in the book, before contributing the patch to fix it, I had to find where they were hosted - It took me quite look to find where within the rust-lang *organisation* it was!
2015-05-02=BG= minor: ensure correct range bounds in concurreny examples in the rust bookBrendan Graetz-4/+4
- `0..2` iterates over `0,1` - `0..3` iterates over `0,1,2`, which is what we want instead
2015-05-01Correct typo in introductionJordan Humphreys-1/+1
Correct 'danging' to 'dangling'.
2015-05-01Rollup merge of #24998 - steveklabnik:fix_links, r=alexcrichtonManish Goregaokar-8/+6
r? @alexcrichton
2015-05-01Rollup merge of #24994 - steveklabnik:gh24977, r=alexcrichtonManish Goregaokar-13/+2
Fixes #24977
2015-05-01Rollup merge of #24992 - steveklabnik:gh24730, r=alexcrichtonManish Goregaokar-0/+8
Fixes #24730 r? @alexcrichton
2015-05-01Rollup merge of #24991 - steveklabnik:gh24852, r=alexcrichtonManish Goregaokar-3/+5
First, a link was broken. Second, the wording was a bit unclear, so I fixed it up. Fixes #24852
2015-05-01Rollup merge of #24982 - poga:fix-incorrect-doc-formatting, r=steveklabnikManish Goregaokar-2/+1
Fix incorrect link tag formatting in `doc/trpl/nightly-rust.md`. Notice the last word of the paragraph. Before: ![before](https://cloud.githubusercontent.com/assets/8631/7413645/10754b7e-ef80-11e4-9bb1-15e87ce9308f.png) After: ![after](https://cloud.githubusercontent.com/assets/8631/7413647/13b96202-ef80-11e4-990b-6ecf72925e7d.png)
2015-04-30Fix broken links in the book.Steve Klabnik-8/+6
2015-04-30Describe (a,) vs (a) in docsSteve Klabnik-0/+8
Fixes #24730
2015-04-30Fix code sample, remove unstable codeSteve Klabnik-13/+2
Fixes #24977
2015-04-30Fix two issues with TRPL: unsized typesSteve Klabnik-3/+5
First, a link was broken. Second, the wording was a bit unclear, so I fixed it up. Fixes #24852
2015-04-30remove newline within link tagPoga Po-2/+1
2015-04-30Auto merge of #24842 - GBGamer:patch-3, r=steveklabnikbors-5/+32
They now use the currently working syntax. Also, I added two examples.
2015-04-30Auto merge of #24970 - Hech:master, r=steveklabnikbors-1/+1
2015-04-29docs: link fixHech-1/+1
2015-04-29rollup merge of #24933: oli-obk/patch-1Alex Crichton-1/+1
compiler plugins are hosted unter "compiler-plugins.html" not "plugins.html"
2015-04-29rollup merge of #24931: jooert/patch-1Alex Crichton-1/+1
Since #24783, the style guidelines recommend that unit tests should live in a submodule `tests` rather than `test` to not clash with the possible use of libtest. This is especially important for benchmark tests as they require libtest. Fixes #24923.
2015-04-29rollup merge of #24862: barometz/intro-push-err-fixAlex Crichton-1/+1
The error in the Brief Introduction shows the problematic line as "x.push(4)", while the example code uses a vector of strings.
2015-04-29fix broken linkOliver Schneider-1/+1
compiler plugins are hosted unter "compiler-plugins.html" not "plugins.html"
2015-04-29Adapt benchmark tests to unit test guidelinesjooert-1/+1
Since #24783, the style guidelines recommend that unit tests should live in a submodule `tests` rather than `test` to not clash with the possible use of libtest. This is especially important for benchmark tests as they require libtest. Fixes #24923.
2015-04-28TRPL: Tiny incoherence in UFCS example.Toni Cárdenas-1/+1
`Type` should be `Trait` to match the next example line. r? @steveklabnik
2015-04-27Rollup merge of #24866 - tshepang:vec-intro, r=steveklabnikSteve Klabnik-2/+3
2015-04-27trpl: clarify lib.rs vs main.rsManish Goregaokar-0/+7
2015-04-27book: improve Vec introTshepang Lekhonkhobe-2/+3
2015-04-27Adjusted intro error to match codeDominic van Berkel-1/+1
The error in the Brief Introduction shows the problematic line as "x.push(4)", while the example code uses a vector of strings.
2015-04-26Fix the errorsNicholas-1/+2
2015-04-26book: Fix broken link to unsafe chapterdiwic-0/+2
2015-04-26Outputs no longer have to be mutableNicholas-1/+1
2015-04-26Fix the inline assembly examplesNicholas-4/+30
They now use the currently working syntax.
2015-04-26Auto merge of #24815 - heejongahn:master, r=steveklabnikbors-0/+1
At https://doc.rust-lang.org/book/vectors.html, there should be a link to Generics page but the link address is ommitted and thus link is not functioning well. So I added a link definition to the vectors.md. r? @steveklabnik
2015-04-26Added a link address to Vectors page of the bookHeejong Ahn-0/+1
At https://doc.rust-lang.org/book/vectors.html, there should be a link to Generics page but the link address is ommitted and thus link is not functioning well. So I added a link definition to the vectors.md. r? @steveklabnik
2015-04-25Rollup merge of #24812 - jest:master, r=steveklabnikManish Goregaokar-8/+8
Conflicts: src/doc/trpl/variable-bindings.md
2015-04-25Rollup merge of #24806 - FuGangqiang:doc, r=ManishearthManish Goregaokar-10/+10
2015-04-25A number of spell-checking corrections.Przemysław Wesołek-8/+8
2015-04-25Auto merge of #24783 - jooert:unittestguidelines, r=alexcrichtonbors-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 (see #23870, #24030 and http://users.rust-lang.org/t/guidelines-naming-of-unit-test-module/1078 for previous discussions). r? @alexcrichton
2015-04-25fix docFuGangqiang-10/+10
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 #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