Marin Atanasov Nikolov
92e44b0422
docs: Typo fix
2015-05-15 21:46:59 +03:00
bors
13a4b83c1a
Auto merge of #25402 - parir:master, r=Manishearth
...
r? @steveklabnik
2015-05-15 13:35:49 +00:00
parir
94ecc372b2
5 != 4
...
Closes #25430
2015-05-15 11:28:32 +02:00
Steve Klabnik
6df13d4d88
Rollup merge of #25420 - habnabit:master, r=steveklabnik
...
It seems to refer to something that used to exist, but got moved, and then not everything got cleaned up.
2015-05-14 20:30:44 -04:00
Steve Klabnik
5501f076c2
Rollup merge of #25418 - leunggamciu:patch-trpl, r=steveklabnik
2015-05-14 20:30:43 -04:00
Steve Klabnik
aa560115b0
Rollup merge of #25413 - killercup:patch-11, r=alexcrichton
...
r? @steveklabnik
2015-05-14 20:30:43 -04:00
Steve Klabnik
dd60abc697
Rollup merge of #25410 - durka:patch-2, r=steveklabnik
2015-05-14 20:30:42 -04:00
Steve Klabnik
765a55ed20
Rollup merge of #25408 - Nashenas88:rust-book-stack-and-heap-typo, 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-14 20:30:42 -04:00
Steve Klabnik
c3562110d0
Rollup merge of #25407 - durka:patch-1, r=alexcrichton
2015-05-14 20:30:42 -04:00
Steve Klabnik
0028f855e2
Rollup merge of #25405 - dreid:patch-3, r=nikomatsakis
2015-05-14 20:30:42 -04:00
Steve Klabnik
1f40cde836
Rollup merge of #25404 - dnaeon:doc-fixes, r=steveklabnik
...
This PR fixes a comment in the `while Loops` section of the Rust book with the correct type of a variable binding.
2015-05-14 20:30:41 -04:00
Aaron Gallagher
568f13ac70
Remove an almost-duplicated sentence.
...
It seems to refer to something that used to exist, but got moved, and
then not everything got cleaned up.
2015-05-14 17:04:00 -07:00
leunggamciu
82c7282bec
trpl: Fix missing internal links
2015-05-15 06:25:01 +08:00
Pascal Hertleif
a1577db825
TRPL: Fix Internal Link
2015-05-14 21:24:09 +02:00
Alex Burka
c8b06891f0
trpl: punctuation fix in Patterns
2015-05-14 14:51:16 -04:00
Alex Burka
c147ac42ca
trpl: fix link from Match to If Let
2015-05-14 14:43:50 -04:00
Alex Burka
66c0fe0d3d
trpl: fix link from Enums to Traits
2015-05-14 14:35:46 -04:00
Alex Burka
dc6eb7839c
trpl: fix link from Structs to Traits
2015-05-14 14:20:24 -04:00
Paul Faria
785cbe3ac9
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.
2015-05-14 13:43:11 -04:00
Alex Burka
e2bb734ac1
trpl: punctuation fix
2015-05-14 12:20:33 -04:00
David Reid
acb5e02add
Another thread->task fix.
2015-05-14 08:15:50 -07:00
Marin Atanasov Nikolov
b4e1ce56a3
trpl-docs: Specify correct type of variable binding
2015-05-14 17:38:22 +03:00
Manish Goregaokar
ff207b7a05
Rollup merge of #25397 - dreid:patch-2, r=alexcrichton
2015-05-14 19:33:09 +05:30
parir
a499517328
Add some missing links.
2015-05-14 15:39:38 +02:00
parir
031ff41a41
Fix version numbers in the guessing game.
2015-05-14 15:30:32 +02:00
David Reid
f539c416a0
Fix automatic substitution of task->thread.
2015-05-13 20:41:03 -07:00
David Reid
71f7fb2b59
Fix table syntax.
2015-05-13 20:03:56 -07:00
Steve Klabnik
a93c8b655f
Rollup merge of #25382 - steveklabnik:typo_fix, r=alexcrichton
...
Thanks apdapreturns
2015-05-13 16:51:30 -04:00
Steve Klabnik
63f39a621b
Rollup merge of #25379 - mpark:trpl, r=alexcrichton
2015-05-13 16:51:29 -04:00
Steve Klabnik
a96f09bf52
Rollup merge of #25376 - swaroopch:patch-2, r=steveklabnik
...
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-13 16:51:29 -04:00
Steve Klabnik
22eb466dfd
Fix typo
...
Thanks apdapreturns
2015-05-13 16:43:39 -04:00
Swaroop C H
f6e5369e53
trpl/error-handling - fix typo
2015-05-13 13:23:10 -07:00
Michael Park
ee57f28f49
TRPL: Fix a broken link to 'move semantics'
2015-05-13 11:41:25 -07:00
Swaroop C H
baef1327f4
Add link to Debug trait
...
I don't recall reading about this `Debug` trait so far in the book.
2015-05-13 09:49:11 -07:00
Steve Klabnik
4b5b9668e0
Fix a typo
...
Thanks @quantheory
2015-05-13 02:46:23 -04:00
Steve Klabnik
11f945cd00
Merge branch 'trpl_embedding' into rollup
2015-05-13 00:55:18 -04:00
Steve Klabnik
704fb9c2c9
Merge branch 'doc-fixes' of https://github.com/wheals/rust into rollup
2015-05-13 00:54:55 -04:00
Steve Klabnik
f26a2a6e89
Merge branch 'doc_release_channels' into rollup
2015-05-13 00:53:32 -04:00
Steve Klabnik
dd11c7f047
Rollup merge of #25348 - geofft:trpl-fix-enums, r=steveklabnik
...
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-13 00:52:49 -04:00
Steve Klabnik
7964d4e512
Rollup merge of #25321 - steveklabnik:second_tutorial, r=alexcrichton
...
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-13 00:52:48 -04:00
Steve Klabnik
fe8a4e3dbf
Rollup merge of #25317 - steveklabnik:trpl_drop, r=alexcrichton
...
r? @alexcrichton
2015-05-13 00:52:48 -04:00
Geoffrey Thomas
f59f41e04c
trpl/match: Add an example for matching on enums
2015-05-12 20:21:21 -04:00
Geoffrey Thomas
8d50216e9d
trpl/enums: Rewrite
2015-05-12 20:21:21 -04:00
Geoffrey Thomas
797d8e2869
trpl/structs: Document unit-like structs
2015-05-12 20:21:21 -04:00
Geoffrey Thomas
457aed7ca0
trpl: move tuple-structs.md into structs.md
2015-05-12 20:21:19 -04:00
Steve Klabnik
2ba61698cc
TRPL: dining philosophers
2015-05-12 19:30:48 -04:00
Steve Klabnik
fc6372ea1f
TRPL: Rust inside other languages
2015-05-12 18:26:03 -04:00
Steve Klabnik
9a3e98be1c
TRPL: Drop
2015-05-12 15:10:44 -04:00
Steve Klabnik
0ad15bbc2b
TRPL: release channels
2015-05-12 15:09:17 -04:00
Manish Goregaokar
e216057dac
Rollup merge of #25322 - frewsxcv:patch-23, r=steveklabnik
...
`if` can be a statement or also an expression.
2015-05-12 22:57:52 +05:30