about summary refs log tree commit diff
path: root/src/doc/trpl
AgeCommit message (Collapse)AuthorLines
2015-04-11Rollup merge of #24309 - tshepang:doc-avoid-x-confusion, r=ManishearthManish Goregaokar-4/+4
2015-04-11Rollup merge of #24281 - steveklabnik:lol_editing, r=alexcrichtonManish Goregaokar-311/+161
more more more
2015-04-11Rollup merge of #24253 - steveklabnik:doc_primitive_types, r=alexcrichtonManish Goregaokar-171/+267
A brief introduction to each type, with pointers to the primitive pages for more info.
2015-04-11Rollup merge of #24247 - steveklabnik:update_variable_bindings, r=huonwManish Goregaokar-49/+57
keeping on with the edits
2015-04-11Rollup merge of #24244 - steveklabnik:more_editing, r=steveklabnikManish Goregaokar-172/+282
Fill out blank section headers. Copy edit the entire first section.
2015-04-11Rollup merge of #24239 - steveklabnik:editing_pass, r=steveklabnikManish Goregaokar-25/+178
Now that the new TOC has landed, I've started doing an editing pass to get the old content into the right shape. I felt this introduction was significant enough to send as its own PR, though, as it's the introduction. It's possible that we may just want to replace 'the intro' with this directly, but this PR doesn't do that.
2015-04-11Rollup merge of #24234 - thiagooak:academic-research, r=steveklabnikManish Goregaokar-0/+47
#24004 Something like this?
2015-04-11book: 'x' is already taken, so use something elseTshepang Lekhonkhobe-4/+4
2015-04-10More editing work on TRPLSteve Klabnik-172/+282
Fill out blank section headers. Copy edit the entire first section.
2015-04-10copyediting: while loopsSteve Klabnik-18/+28
2015-04-10copyediting: for loopsSteve Klabnik-15/+14
2015-04-10copyedits: patternsSteve Klabnik-51/+66
This also puts slice patterns in nightly docs, where they belong.
2015-04-10copyediting: matchSteve Klabnik-117/+23
2015-04-10copy-editing: ifSteve Klabnik-95/+15
I decided to break if-let out, as it's too complex for this part, but moving if that late seems silly too.
2015-04-10remove backticks from titlesSteve Klabnik-9/+9
This doesn't actually display correctly
2015-04-10some TOC reorganizationSteve Klabnik-6/+6
As I go through this, I'm finding some ways that I want to tweak the order.
2015-04-10Auto merge of #24177 - alexcrichton:rustdoc, r=aturonbors-1/+3
This commit series starts out with more official test harness support for rustdoc tests, and then each commit afterwards adds a test (where appropriate). Each commit should also test and finish independently of all others (they're all pretty separable). I've uploaded a [copy of the documentation](http://people.mozilla.org/~acrichton/doc/std/) generated after all these commits were applied, and a double check on issues being closed would be greatly appreciated! I'll also browse the docs a bit and make sure nothing regressed too horribly.
2015-04-10copyedits: documentationSteve Klabnik-20/+18
2015-04-10copyedits: functionsSteve Klabnik-51/+85
2015-04-09Write the 'primitive types' section of TRPLSteve Klabnik-171/+267
A brief introduction to each type, with pointers to the primitive pages for more info.
2015-04-09TRPL: new introductionSteve Klabnik-25/+178
2015-04-09Copyediting for 'variable bindings'Steve Klabnik-49/+57
2015-04-10Rollup merge of #24170 - omo:omo-typo-fix, r=steveklabnikManish Goregaokar-1/+1
Can anyone take a look? Very trivial.
2015-04-09resurrect research paper list #24004Thiago Carvalho-0/+47
2015-04-07Import real content.Steve Klabnik-3/+9377
2015-04-07book: Fix a hyperlink to CONFIGS.mdAlex Crichton-1/+3
Right now rustdoc replaces the string ".md)" with ".html)" to fix links between markdown files, so use a different syntax that doesn't get caught in the crossfire. Closes #22900
2015-04-07New TOCSteve Klabnik-10519/+48
2015-04-07Fix a typoHajime Morrita-1/+1
2015-04-08Rollup merge of #24148 - xfq:patch-2, r=steveklabnikManish Goregaokar-4/+4
People use programming language *implementations* like Ruby MRI, CPython, and SpiderMonkey for executing programs.
2015-04-07Rollup merge of #24112 - joshtriplett:patch-1, r=steveklabnikManish Goregaokar-2/+1
traits.md said: If we add a `use` line right above `main` and make the right things public, everything is fine: However, the use line was actually placed at the top of the file instead. Move the use line to right above main. That also makes the example more evocative of cases where the module is defined in a separate file.
2015-04-07Rollup merge of #24088 - GuillaumeGomez:patch-1, r=alexcrichtonManish Goregaokar-1/+1
Fixes #24060.
2015-04-07Rollup merge of #24042 - callahad:bug_24030, r=steveklabnikManish Goregaokar-2/+2
Fixes #24030 Of the four code samples with modules in TRPL: - 2 use `mod test` - 2 use `mod tests` We should be consistent here, but which is right? The stdlib is split: $ grep -r 'mod tests {' src/lib* | wc -l 63 $ grep -r 'mod test {' src/lib* | wc -l 58 Subjectively, I like the plural, but both the language reference and the style guide recommend the singular. So we'll go with that here, for now. r? @steveklabnik
2015-04-07Update hello-world.mdXue Fuqiao-4/+4
People use programming language *implementations* like Ruby MRI, CPython, and SpiderMonkey for executing programs.
2015-04-06traits.md: Fix example of using traits to match descriptionJosh Triplett-2/+1
traits.md said: If we add a `use` line right above `main` and make the right things public, everything is fine: However, the use line was actually placed at the top of the file instead. Move the use line to right above main. That also makes the example more evocative of cases where the module is defined in a separate file.
2015-04-06Replace alpha state by pre-1.0Guillaume Gomez-1/+1
2015-04-06Auto merge of #24087 - mossberg:docs-comma, r=steveklabnikbors-1/+1
Correct mistyped comma, and slightly improve sentence. r? @steveklabnik
2015-04-05Documentation fixMark Mossberg-1/+1
Correct mistyped comma, and slightly improve sentence.
2015-04-04Alignment nitpickmdinger-1/+1
2015-04-04Auto merge of #24016 - aquach:master, r=Manishearthbors-1/+1
Ran across this one while learning from the Book.
2015-04-04Auto merge of #23987 - liammonahan:master, r=Manishearthbors-1/+1
I ran across a comma splice. I didn't set the "note:" off inside parenthesis. I looked around in other places and saw it both ways, but without surrounding parenthesis seemed to be the more common convention followed elsewhere in the docs. Let me know if you have an overriding preference about that and I'll change it. r? @steveklabnik
2015-04-04Auto merge of #23981 - chastell:book_crates-and-modules_io_sync, r=Manishearthbors-27/+29
This syncs the _Crates and Modules_ chapter of the book with current output: * the runs are supposed to be in the project’s directory, * `rustc` has slightly different error messages (and things like macro line:col numbers), * Cargo now compiles things into `target/debug`.
2015-04-04Fix doc (fixup #24031)Manish Goregaokar-3/+1
2015-04-04Rollup merge of #24040 - hackaugusto:patch-1, r=steveklabnikManish Goregaokar-3/+0
2015-04-04Rollup merge of #24032 - steveklabnik:beta_install, r=alexcrichtonManish Goregaokar-2/+52
Default is now beta, add nightly in the unstable section
2015-04-03book: use `mod test` consistentlyDan Callahan-2/+2
Fixes #24030 Of the four code samples with modules in TRPL: - 2 use `mod test` - 2 use `mod tests` We should be consistent here, but which is right? The stdlib is split: $ grep -r 'mod tests {' src/lib* | wc -l 63 $ grep -r 'mod test {' src/lib* | wc -l 58 Subjectively, I like the plural, but both the language reference and the style guide recommend the singular. So we'll go with that here, for now.
2015-04-03Removed repeated sentence.Augusto Hack-3/+0
2015-04-03Update Rust install instructions in TRPLSteve Klabnik-2/+52
Default is now beta, add nightly in the unstable section
2015-04-03Remove old_io from trpl/concurrency.mdDan Callahan-22/+10
Also: the std_misc feature flag is removed; it's not needed in Beta. Hat tip to @tshepang in #23871 Fixes #24023
2015-04-03Delete duplicated sentence.Alex Quach-3/+0
2015-04-03Fixing copy/paste typo.Alex Quach-1/+1