Steve Klabnik
fb6eeb6ce8
Document _ in bindings
...
Fixes #25786
2015-07-06 12:27:32 -04:00
bors
7c38de89d4
Auto merge of #26108 - Marwes:field_pun_docs, r=steveklabnik
...
Adds a mention for the short form pattern syntax. Now without creating a PR to my own fork!
#25779
2015-06-13 07:00:26 +00:00
Markus Westerlind
219ddd1f61
Mention the short form pattern syntax in the book
...
Explains short form pattern syntax and then introduces the longer
pattern matching as a rebinding of the fields instead.
#25779
2015-06-12 18:18:45 +02:00
Steve Klabnik
a0b08f387b
Explain interaction with if and | in patterns
...
Fixes #26012
2015-06-09 15:40:09 -04:00
Alex Burka
c8b06891f0
trpl: punctuation fix in Patterns
2015-05-14 14:51:16 -04:00
Steve Klabnik
df18642b1a
Revise @ in patterns section
...
Fixes #25008
2015-05-02 11:56:58 -04:00
Steve Klabnik
9661efac8b
TRPL editing: patterns
...
Partially addresses #24388
2015-04-20 09:37:48 -04:00
Steve Klabnik
b577beeb3a
copyedits: patterns
...
This also puts slice patterns in nightly docs, where they belong.
2015-04-10 12:26:58 -04:00
Brian Anderson
1639e51f6e
Feature gate *all* slice patterns. #23121
...
Until some backwards-compatibility hazards are fixed in #23121 ,
these need to be unstable.
[breaking-change]
2015-03-27 12:50:49 -07:00
Niko Matsakis
9ea84aeed4
Replace all uses of &foo[]
with &foo[..]
en masse.
2015-02-18 17:36:03 -05:00
Alex Crichton
3a2530d611
Test fixes and rebase conflicts
...
Also some tidying up of a bunch of crate attributes
2015-01-30 14:53:34 -08:00
Steve Klabnik
19a1f7ed06
Don't use as_slice() in docs
...
Use deref coercions instead.
2015-01-30 11:22:45 -05:00
Nick Howell
0c26524134
doc: Remove extra whitespace in the middle of lines to provide alignment
...
"Idiomatic code should not use extra whitespace in the middle of a line to provide alignment."
http://aturon.github.io/style/whitespace.html
I realize the linked page still needs an RFC, but the docs should be written in accordance with the guidelines nevertheless.
2015-01-17 10:51:53 -05:00
Steve Klabnik
899ffcf62a
Intpocalypse, book edition.
...
Fix all usage of int/uint/i/u in the book.
2015-01-17 10:51:07 -05:00
Kevin Yap
8f61814641
Standardize punctuation & formatting of TRPL
...
This commit is an attempt to standardize the use of punctuation and
formatting in "The Rust Programming Language" as discussed in #19823 .
- Convert bold text to italicized textcwhen referring to terminology.
- Convert single-quoted text to italicized or double-quoted text,
depending on context.
- Use double quotes only in the case of scare quotes or quotations.
2015-01-08 17:15:26 -08:00
Alex Crichton
7541f82fab
Fix dead links in the guide and reorganize
2015-01-08 10:27:03 -08:00