summary refs log tree commit diff
path: root/src/doc/trpl
AgeCommit message (Collapse)AuthorLines
2015-06-19Don't link to specific versions of rust in the book.Steven Allen-8/+6
They're forever doomed to be out-of-date. Also, don't assume the user is installing a particular version.
2015-05-15Auto merge of #25402 - parir:master, r=Manishearthbors-7/+7
r? @steveklabnik
2015-05-155 != 4parir-1/+1
Closes #25430
2015-05-14Rollup merge of #25420 - habnabit:master, r=steveklabnikSteve Klabnik-3/+0
It seems to refer to something that used to exist, but got moved, and then not everything got cleaned up.
2015-05-14Rollup merge of #25418 - leunggamciu:patch-trpl, r=steveklabnikSteve Klabnik-0/+3
2015-05-14Rollup merge of #25413 - killercup:patch-11, r=alexcrichtonSteve Klabnik-2/+2
r? @steveklabnik
2015-05-14Rollup merge of #25410 - durka:patch-2, r=steveklabnikSteve Klabnik-1/+4
2015-05-14Rollup merge of #25408 - Nashenas88:rust-book-stack-and-heap-typo, ↵Steve Klabnik-3/+3
r=steveklabnik I fixed the typo of the value of e in the memory tables. It is a reference to d, and so it should contain the memory location of d. I also fixed the incorrectly formatted tables so they display properly in html pages.
2015-05-14Rollup merge of #25407 - durka:patch-1, r=alexcrichtonSteve Klabnik-3/+3
2015-05-14Rollup merge of #25405 - dreid:patch-3, r=nikomatsakisSteve Klabnik-1/+1
2015-05-14Rollup merge of #25404 - dnaeon:doc-fixes, r=steveklabnikSteve Klabnik-1/+1
This PR fixes a comment in the `while Loops` section of the Rust book with the correct type of a variable binding.
2015-05-14Remove an almost-duplicated sentence.Aaron Gallagher-3/+0
It seems to refer to something that used to exist, but got moved, and then not everything got cleaned up.
2015-05-15trpl: Fix missing internal linksleunggamciu-0/+3
2015-05-14TRPL: Fix Internal LinkPascal Hertleif-2/+2
2015-05-14trpl: punctuation fix in PatternsAlex Burka-2/+2
2015-05-14trpl: fix link from Match to If LetAlex Burka-1/+1
2015-05-14trpl: fix link from Enums to TraitsAlex Burka-0/+1
2015-05-14trpl: fix link from Structs to TraitsAlex Burka-0/+2
2015-05-14I fixed the typo of the value of e in the memory tables. It is a reference ↵Paul Faria-26/+26
to d, and so it should contain the memory location of d. I also fixed the incorrectly formatted tables.
2015-05-14trpl: punctuation fixAlex Burka-1/+1
2015-05-14Another thread->task fix.David Reid-1/+1
2015-05-14trpl-docs: Specify correct type of variable bindingMarin Atanasov Nikolov-1/+1
2015-05-14Rollup merge of #25397 - dreid:patch-2, r=alexcrichtonManish Goregaokar-1/+1
2015-05-14Add some missing links.parir-0/+3
2015-05-14Fix version numbers in the guessing game.parir-6/+6
2015-05-13Fix automatic substitution of task->thread.David Reid-1/+1
2015-05-13Fix table syntax.David Reid-23/+23
2015-05-13Rollup merge of #25382 - steveklabnik:typo_fix, r=alexcrichtonSteve Klabnik-1/+1
Thanks apdapreturns
2015-05-13Rollup merge of #25379 - mpark:trpl, r=alexcrichtonSteve Klabnik-1/+1
2015-05-13Rollup merge of #25376 - swaroopch:patch-2, r=steveklabnikSteve Klabnik-0/+2
I don't recall reading about this `Debug` trait so far in the book. Please ignore this PR if I have missed that part. r? @steveklabnik
2015-05-13Fix typoSteve Klabnik-1/+1
Thanks apdapreturns
2015-05-13trpl/error-handling - fix typoSwaroop C H-1/+1
2015-05-13TRPL: Fix a broken link to 'move semantics'Michael Park-1/+1
2015-05-13Add link to Debug traitSwaroop C H-0/+2
I don't recall reading about this `Debug` trait so far in the book.
2015-05-13Fix a typoSteve Klabnik-1/+1
Thanks @quantheory
2015-05-13Merge branch 'trpl_embedding' into rollupSteve Klabnik-0/+354
2015-05-13Merge branch 'doc-fixes' of https://github.com/wheals/rust into rollupSteve Klabnik-10/+15
2015-05-13Merge branch 'doc_release_channels' into rollupSteve Klabnik-0/+46
2015-05-13Rollup merge of #25348 - geofft:trpl-fix-enums, r=steveklabnikSteve Klabnik-112/+162
The enums chapter at the moment is ... weird. The examples aren't about enums, they're about structs, and most of the chapter talks about how enums don't support comparison operators by default (which is also true of other compound data types.) I think there was a story here once, but some coherency got lost in refactoring. There are two preliminary patches here, one to combine the struct and tuple-struct chapters, and one to document unit-like structs, because enum syntax is easier to explain once you have those three. The final patch moves the enum chapter after the struct chapter, and rewrites most of it to talk about enums usefully (including covering matches on enums). r? @steveklabnik
2015-05-13Rollup merge of #25321 - steveklabnik:second_tutorial, r=alexcrichtonSteve Klabnik-0/+691
This is a little rough, and it needs squashed and section headers, but i'd like to get some eyes on it sooner rather than later.
2015-05-13Rollup merge of #25317 - steveklabnik:trpl_drop, r=alexcrichtonSteve Klabnik-2/+66
r? @alexcrichton
2015-05-12trpl/match: Add an example for matching on enumsGeoffrey Thomas-0/+37
2015-05-12trpl/enums: RewriteGeoffrey Thomas-51/+46
2015-05-12trpl/structs: Document unit-like structsGeoffrey Thomas-0/+19
2015-05-12trpl: move tuple-structs.md into structs.mdGeoffrey Thomas-61/+60
2015-05-12TRPL: dining philosophersSteve Klabnik-0/+691
2015-05-12TRPL: Rust inside other languagesSteve Klabnik-0/+354
2015-05-12TRPL: DropSteve Klabnik-2/+66
2015-05-12TRPL: release channelsSteve Klabnik-0/+46
2015-05-12Rollup merge of #25322 - frewsxcv:patch-23, r=steveklabnikManish Goregaokar-1/+1
`if` can be a statement or also an expression.