about summary refs log tree commit diff
path: root/src/doc/trpl
AgeCommit message (Collapse)AuthorLines
2015-03-14Fix a typo in the documentation.Ricardo Martins-1/+1
2015-03-13Add the -s flag to the suggested rustup invocationJakub Bukaj-2/+2
curl's progress meter would otherwise interfere with sudo's password prompt. In addition, add the -f flag to make sure 4xx status codes are treated as errors.
2015-03-12Fixed several grammar errors and broke up very long line.Trent Nadeau-2/+4
2015-03-12Rollup merge of #23295 - johnz133:patch-1, r=steveklabnikManish Goregaokar-4/+4
Changed the docs to reflect that
2015-03-12Rollup merge of #23279 - steveklabnik:gh23244, r=alexcrichtonManish Goregaokar-0/+5
Fixes #23244
2015-03-12Rollup merge of #23234 - Ms2ger:doc-dynamic-dispatch, r=steveklabnikManish Goregaokar-49/+68
2015-03-11Cargo build now builds to /target/debug/, changed the docs to reflect that.John Zhang-4/+4
Deleted trailing space in hello-cargo.md Added note about build --release in hello-cargo thanks to steven klabnik for pointing it out for me edited out redundant wording
2015-03-11Example -> ExamplesSteve Klabnik-1/+1
This brings comments in line with https://github.com/rust-lang/rfcs/blob/master/text/0505-api-comment-conventions.md#using-markdown
2015-03-11Rewrite the dynamic dispatch section to focus on usage rather than ↵Ms2ger-49/+68
implementation.
2015-03-11Add note about local documentation installationSteve Klabnik-0/+5
Fixes #23244
2015-03-10Rollup merge of #23195 - steveklabnik:gh19808, r=alexcrichtonManish Goregaokar-0/+7
Fixes #19808
2015-03-09Explain super in the crates guide.Steve Klabnik-0/+7
Fixes #19808
2015-03-09Fix doctest (fixup #23188)Manish Goregaokar-0/+1
2015-03-09Rollup merge of #23182 - steveklabnik:gh22610, r=ManishearthManish Goregaokar-2/+2
Fixes #22610
2015-03-09Rollup merge of #23188 - steveklabnik:gh18787, r=alexcrichtonManish Goregaokar-1/+22
Fixes #18787
2015-03-09Rollup merge of #23184 - steveklabnik:gh22553, r=alexcrichtonManish Goregaokar-1/+1
Fixes #22553
2015-03-09Rollup merge of #23181 - steveklabnik:gh22637, r=alexcrichtonManish Goregaokar-3/+14
Fixes #22637
2015-03-09Rollup merge of #23180 - steveklabnik:gh23052, r=alexcrichtonManish Goregaokar-9/+2
Fixes #23052
2015-03-09Rollup merge of #23043 - steveklabnik:doc_default_method, r=nikomatsakisManish Goregaokar-0/+43
2015-03-08Add examples of all three syntaxes in method syntax chapter of trplSteve Klabnik-1/+22
Fixes #18787
2015-03-08Move 'more strings' after ownershipSteve Klabnik-1/+1
Fixes #22553
2015-03-08remove 'generally' to reduce confusionSteve Klabnik-2/+2
Fixes #22610
2015-03-08Mention deref coercions in the String guide.Steve Klabnik-3/+14
Fixes #22637
2015-03-08Remove reference to NoSend in concurrency chapter of the bookSteve Klabnik-9/+2
Fixes #23052
2015-03-08Add default methods to trait documentationSteve Klabnik-0/+43
2015-03-07Fix #23166. Get the Compiler Plugins example compiling again.Ryan Prichard-4/+4
* "let met text" was previously of &String type. Now it is of &str type. * Update the slicing syntax. Both &text[] and text.slice_from() evaluate to a &str. * We were passing a u32 to expr_usize. Call expr_u32 instead.
2015-03-07Auto merge of #22549 - steveklabnik:doc_documentation, r=huonwbors-214/+419
This chapter covers writing documentation in depth. Fixes #4361 Fixes #12862 Fixes #14070 Fixes #14967
2015-03-06Rollup merge of #23039 - steveklabnik:doc_vec_macro, r=alexcrichtonManish Goregaokar-0/+6
2015-03-04Note the alternate form of vec in trplSteve Klabnik-0/+6
2015-03-04TRPL: DocumentationSteve Klabnik-214/+419
This chapter covers writing documentation in depth. Fixes #4361 Fixes #12862 Fixes #14070 Fixes #14967
2015-03-04Fix grammar nits in compound-data-types.mdPeter Elmers-3/+3
I came across a couple of grammar mistakes when refreshing myself on enums.
2015-03-03Fix doc example to accommodate overloaded-box.Felix S. Klock II-1/+1
2015-02-28Changed wording to use Result instead of Option in several places, fixed ↵David Mally-9/+9
example that actually does use an Option
2015-02-28Rollup merge of #22866 - iKevinY:version-output-doc-fix, r=ManishearthManish Goregaokar-2/+2
The format of `rustc --version` was changed in #21957; this PR updates TRPL accordingly.
2015-02-28Rollup merge of #22875 - kmcallister:maceager, r=sfacklerManish Goregaokar-4/+4
MacEager is a MacResult implementation for the common case where you've already built each form of AST that you might return. Fixes #17637. Based on #18814. This is a [breaking-change] for syntax extensions: * MacExpr::new becomes MacEager::expr. * MacPat::new becomes MacEager::pat. * MacItems::new becomes MacEager::items. It takes a SmallVector directly, not an iterator. r? @sfackler
2015-02-27Replace MacExpr / MacPat / MacItems with MacEagerKeegan McAllister-4/+4
MacEager is a MacResult implementation for the common case where you've already built each form of AST that you might return. Fixes #17637. Based on #18814. This is a [breaking-change] for syntax extensions: * MacExpr::new becomes MacEager::expr. * MacPat::new becomes MacEager::pat. * MacItems::new becomes MacEager::items. It takes a SmallVector directly, not an iterator.
2015-02-27Rollup merge of #22732 - jxcl:cargo-new, r=steveklabnikManish Goregaokar-4/+62
r? @steveklabnik
2015-02-27Update expected output of `rustc --version`Kevin Yap-2/+2
The format of `rustc --version` was changed in #21957.
2015-02-25Rollup merge of #22635 - kmcallister:macros-chapter, r=steveklabnikManish Goregaokar-27/+131
r? @steveklabnik
2015-02-24Enhance and move information about macro debuggingKeegan McAllister-18/+27
Fixes #22424.
2015-02-24Tweak wording in the macros guideKeegan McAllister-10/+19
2015-02-24Add a second, more vexing section on recursive macrosKeegan McAllister-0/+47
Fixes #22423.
2015-02-24Add a section on recursive macrosKeegan McAllister-0/+39
2015-02-25Rollup merge of #22458 - steveklabnik:try_in_error_chapter, r=alexcrichtonManish Goregaokar-0/+72
Fixes #22342
2015-02-24Use arrays instead of vectors in testsVadim Petrochenkov-1/+1
2015-02-24Mention try macro in error chapterSteve Klabnik-0/+72
Fixes #22342
2015-02-24Rollup merge of #22473 - leejunseok:fix_pointer_example, r=steveklabnikManish Goregaokar-13/+14
Revised an example in the Pointers chapter of TRPL (the guide) as per #21575.
2015-02-24Rollup merge of #22719 - steveklabnik:typo_fix, r=alexcrichtonManish Goregaokar-2/+2
2015-02-23Removed `{}` and small wording fixes to "Hello Cargo!" chapter.Alexander Bliskovsky-10/+10
2015-02-23Added section on `cargo new` to "Hello Cargo!" chapter.Alexander Bliskovsky-1/+59