about summary refs log tree commit diff
path: root/src/doc/trpl
AgeCommit message (Collapse)AuthorLines
2015-10-08Rollup merge of #28904 - panicbit:trpl-derive, r=steveklabnikSteve Klabnik-0/+29
2015-10-08Rollup merge of #28893 - steveklabnik:gh28687, r=nikomatsakisSteve Klabnik-0/+25
Fixes #28687
2015-10-08trpl: link to derivable trait's docspanicbit-9/+9
2015-10-08trpl: mention deriving in traits sectionpanicbit-0/+29
2015-10-07Rollup merge of #28889 - JIghtuse:str_doc, r=steveklabnikSteve Klabnik-11/+11
2015-10-07Rollup merge of #28882 - ykomatsu:trpl, r=steveklabnikSteve Klabnik-2/+2
2015-10-07Rollup merge of #28880 - Wallacoloo:book-5.14-typo, r=alexcrichtonSteve Klabnik-1/+1
The diff can hopefully speak for itself. Regardless: this chapter of the book contained a sentence where "the" was mistakenly repeated twice. In this same section, there was a comma separating two sentences where a period should have been. This PR fixes both issues.
2015-10-07Rollup merge of #28856 - chills42:master, r=steveklabnikSteve Klabnik-21/+24
This is to address issue #28803 by improving some of the references to closures, to explain what they are more clearly, while hopefully still being concise. r? @steveklabnik
2015-10-07Rollup merge of #28836 - jackwilsonv:patch-6, r=steveklabnikSteve Klabnik-2/+2
r? @steveklabnik
2015-10-07Comment on shadowing with patternsSteve Klabnik-0/+25
Fixes #28687
2015-10-07trpl: Fix some bad wording in iterators subsectionBoris Egorov-7/+7
2015-10-07trpl: Use ordered list to release user from countingBoris Egorov-4/+4
Later in text we mention 'step four' and 'step three'. This fix releases user from counting.
2015-10-07Fix a typoYoshito Komatsu-2/+2
Add musl link
2015-10-06Fix "the the" typo and split a run-on sentenceColin Wallace-1/+1
2015-10-06Use the correct mod name from the exampleJack Wilson-2/+2
2015-10-07Update TRPL/Installing Rust to avoid concrete version numbersDaniel Carral-8/+3
As discussed in PR #28817
2015-10-06Auto merge of #28864 - aarzee:master, r=steveklabnikbors-12/+2
Remove leading newlines in files and replace lines containing only whitespace with blank lines
2015-10-06Auto merge of #28842 - chrisccerami:patch-1, r=steveklabnikbors-1/+4
2015-10-06Replace multiple trailing newlines with a single trailing newlineCarlos Liam-10/+0
Sorry I didn’t get this in the last PR (#28864), I hadn’t thought of it.
2015-10-06Clean newlinesCarlos Liam-2/+2
2015-10-06Wrap words at 80 charactersChris C Cerami-1/+2
2015-10-06address review concernsCraig Hills-10/+11
2015-10-06Auto merge of #28858 - jryans:crate-doc-syntax, r=alexcrichtonbors-0/+2
Without the blank lines, the content is displayed inline, including the `rust,ignore` syntax hint. r? @steveklabnik
2015-10-06Complex import example needs blank linesJ. Ryan Stinnett-0/+2
2015-10-05possessive itsCraig Hills-1/+1
2015-10-05trpl: Clarify closure terminologyCraig Hills-20/+22
This is to address issue #28803
2015-10-05Auto merge of #28849 - semmaz:doc-anchor-fix, r=alexcrichtonbors-6/+6
r? @steveklabnik
2015-10-05docs: anchors fixesSimon Mazur-6/+6
2015-10-05Link to 'Lifetime Elision' section at first use of elideChris C Cerami-1/+3
2015-10-05Use a more common word than "elide", e.g. omitChris C Cerami-1/+1
2015-10-04Update bibliography.mdBrian Anderson-0/+1
2015-10-04Auto merge of #28831 - Seeker14491:patch-1, r=steveklabnikbors-8/+8
2015-10-04Docs: Removes duplicate output from FFI exampleJames Bell-1/+0
The "Rust Inside Other Languages" page includes a library example. The reference specifies printing "done!" when the code finishes running, and the language examples (Ruby, Python, JS) all do this in their code. However, the Rust library example code *also* does this, so that the examples as written would output "done!" twice. This removes the "done!" from the Rust example code to clarify the docs.
2015-10-04fix another typoSeeker14491-1/+1
2015-10-03fix a few typosSeeker14491-7/+7
2015-10-03Add missing dotGuillaume Gomez-1/+1
2015-10-02Add in some <hr>s for emphasisSteve Klabnik-0/+8
It's not really clear here, since the example is rendered, where it starts and ends. So let's use <hr>s to split it up.
2015-10-02Rollup merge of #28786 - fhahn:ba-link, r=alexcrichtonManish Goregaokar-3/+4
This tiny PR just adds a link to Florian Wilkens's Bachelor's Thesis.
2015-10-01Auto merge of #28746 - aidanhs:aphs-musl-linking-no-cxxabi, r=alexcrichtonbors-2/+0
On reading https://github.com/alexcrichton/port-of-rust/blob/master/musl/Dockerfile I was surprised to see no libcxxabi. I experimented, and it does seem to be unnecessary. I guess it's a remnant from the 3.6 build. r? @alexcrichton
2015-10-01Add link to Florian Wilkens's Bachelor's ThesisFlorian Hahn-3/+4
2015-09-30Rollup merge of #28772 - tshepang:improve-paragraph, r=steveklabnikSteve Klabnik-2/+2
2015-09-30Rollup merge of #28753 - steveklabnik:gh28572, r=alexcrichtonSteve Klabnik-18/+20
This is part of #28572, but doesn't complete it. Amongst other things, this patch: * Increases consistency in the way feature flags are used with other docs. * Removes the ignores, which is nice: we actually had some syntax errors in the examples :sob:. * Mentions #![no_core] Realistically, this document used to be in the order of least to most: nothing, then adding core. But with the changes in RFC 1184, this is backwards: it now shows stuff that uses core from the beginning. In the future, I'd like to revamp this to go from 'most to least', but I'd like to see the discussion in https://github.com/rust-lang/rust/issues/27701 goes before I write more.
2015-09-30Rollup merge of #28765 - steveklabnik:gh28693, r=nikomatsakisSteve Klabnik-0/+29
Fixes #28693
2015-09-30Rollup merge of #28763 - steveklabnik:gh27917, r=alexcrichtonSteve Klabnik-1/+4
Fixes #27917
2015-09-30Rollup merge of #28761 - steveklabnik:gh28082, r=brsonSteve Klabnik-0/+2
We don't completely cover documentation tests in the testing chapter, since we cover them in the documentation chapter. So make sure people know that. Fixes #28082
2015-09-30Rollup merge of #28759 - steveklabnik:gh28359, r=nikomatsakisSteve Klabnik-3/+8
Fixes #28359 I'm not doing more here because it's unclear that `as_slice()` is even going to stick around, see https://github.com/rust-lang/rust/issues/27729
2015-09-30Rollup merge of #28755 - steveklabnik:gh28418, r=alexcrichtonSteve Klabnik-2/+2
The original blog post referred to examples by their file names, and now that it's in guide form, there is no file name. So edit the text so that it makes a bit more sense. Fixes #28428
2015-09-30Rollup merge of #28754 - luser:fix-rustdoc-module-links, r=ManishearthSteve Klabnik-2/+2
The links in the rustdoc for several places in fmt were trying to link to the std::fmt module but actually linking to std, which was confusing. While trying to figure out why I noticed that the documentation chapter of the Rust book has examples that show this same bug (although it doesn't seem widespread in practice). r? @steveklabnik
2015-09-30Mention that you can only index with usizeSteve Klabnik-0/+29
Fixes #28693
2015-09-30Elaborate on the io prelude in the bookSteve Klabnik-1/+4
Fixes #27917