bors
2da9efefca
Auto merge of #25463 - jeremyschlatter:master, r=alexcrichton
2015-05-16 22:29:56 +00:00
bors
15c18e725c
Auto merge of #25450 - dnaeon:docs, r=alexcrichton
2015-05-16 07:01:32 +00:00
bors
4ce08a5d70
Auto merge of #25440 - durka:patch-3, r=alexcrichton
...
The Traits chapter uses "adding methods to `int`" as an example of "something bad", but there is no such thing as `int` anymore, right? So I changed it to `i32`.
2015-05-16 02:11:11 +00:00
Jeremy Schlatter
3709e8f92b
Fix quotation mark in ruby example.
2015-05-15 16:08:15 -07:00
bors
daaf715539
Auto merge of #25432 - killercup:patch-12, r=steveklabnik
...
`[let]` was already defined in line 11. Pandoc shows a warning for this. I'm not sure if it's actually invalid Markdown.
r? @steveklabnik
2015-05-15 22:55:03 +00:00
bors
a9ea33fa30
Auto merge of #25437 - MazinZ1:master, r=alexcrichton
...
The download links of Windows installers on the Nightly Rust page are using beta builds instead of nightly builds, which caused some confusions when I was setting up my env. Probably it's better to use the links of nightly builds here.
2015-05-15 21:17:42 +00:00
Marin Atanasov Nikolov
92e44b0422
docs: Typo fix
2015-05-15 21:46:59 +03:00
Alex Burka
900f27dc7c
trpl: change from "int" to "i32" in Traits
...
The Traits chapter uses "adding methods to `int`" as an example of "something bad", but there is no such thing as `int` anymore, right? So I changed it to `i32`.
2015-05-15 12:14:39 -04:00
Z1
26560e75b7
Fix download links of Nightly Windows installers
...
The download links of Windows installers on the Nightly Rust page are using beta builds instead of nightly builds, which caused some confusions when I was setting up my env. Probably it's better to use the links of nightly builds here.
2015-05-15 10:52:47 -04:00
bors
13a4b83c1a
Auto merge of #25402 - parir:master, r=Manishearth
...
r? @steveklabnik
2015-05-15 13:35:49 +00:00
Pascal Hertleif
94be1153f1
TRPL: Fix Inline Code Typography
2015-05-15 14:42:58 +02:00
Pascal Hertleif
7d0ae692c9
TRPL: Remove Duplicate Reference
...
Pandoc shows a warning for this. I'm not sure if it's actually invalid Markdown.
2015-05-15 12:23:26 +02: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