Commit Graph

1935 Commits

Author SHA1 Message Date
Steve Klabnik
c507dbb4e5 Merge pull request #753 from mystor/patch-1
Update usage of `syn` in Procedural Macros chapter
2017-06-07 10:46:27 -04:00
Michael Layzell
94946f20ce Update usage of syn in Procedural Macros chapter
This makes 2 changes:
1. It updates the versions of `syn` and `quote` to the latest versions.
2. It updates the code to not use the deprecated type alias `syn::MacroInput` and instead use the preferred `syn::DeriveInput`. `MacroInput` will be removed in the next breaking version of `syn`. See https://github.com/dtolnay/syn/pull/173
2017-06-07 10:39:27 -04:00
Carol (Nichols || Goulding)
7a999ef48f Merge pull request #749 from authchir/patch-4
Refactor code lightly w.r.t whitespace in ch12-03
2017-06-06 14:22:02 -04:00
Carol (Nichols || Goulding)
ec782d5bcf word wrap 2017-06-06 14:20:32 -04:00
Carol (Nichols || Goulding)
91a45e6573 Merge pull request #748 from orvly/master
Fixed text describing listing 14-12 to match the enums described in the text
2017-06-06 14:19:41 -04:00
Carol (Nichols || Goulding)
7dcb022a66 Merge pull request #747 from authchir/patch-3
Reformulate that the newtype pattern does not have a performance penalty
2017-06-06 14:18:28 -04:00
Carol (Nichols || Goulding)
4be2cdf039 Merge pull request #746 from authchir/patch-1
Use the assumed 'static lifetime in static variables
2017-06-06 14:17:28 -04:00
Carol (Nichols || Goulding)
aed51c5391 Merge pull request #745 from pilla/master
Comment about size of allocated variables.
2017-06-06 14:16:28 -04:00
Carol (Nichols || Goulding)
99d465ab5e word wrap 2017-06-06 14:15:49 -04:00
Carol (Nichols || Goulding)
7be29a1c3a Merge pull request #744 from jchovanec/ch12-05
Ch12-05
2017-06-06 14:14:31 -04:00
Carol (Nichols || Goulding)
b707dc6649 Incorporating the module clarifications into the docx
And making some further tweaks based on rereadings
2017-06-06 13:22:44 -04:00
Carol (Nichols || Goulding)
3333fde4cb Merge remote-tracking branch 'origin/pr/734' 2017-06-06 12:25:17 -04:00
authchir
a023fd9fbc Refactor code lightly w.r.t whitespace in ch12-03 2017-06-05 08:08:41 +02:00
OrenL
9319dfa322 Fixed text describing listing 14-12 to match the enums described in the code 2017-06-05 00:08:34 +03:00
authchir
1fad6f9954 Reformulate that the newtype pattern does not have a performance penalty 2017-06-04 23:03:11 +02:00
authchir
681b0aaf0a Use the assumed 'static lifetime in static variables
Since Rust 1.17, the 'static lifetime is assumed in statics and consts.
2017-06-04 20:34:38 +02:00
Mauricio Lima Pilla
2fa2c6c927 Comment about size of allocated variables. 2017-06-04 08:09:53 -03:00
jchovanec
3b81345eb6 Fixed typo in the next to last paragraph of ch12-05. 2017-06-03 00:17:28 -04:00
jchovanec
9739616542 Query not actually changed in the 'old test' in listing 12-20. Corrected following paragraph to reflect this. 2017-06-02 23:50:11 -04:00
Steve Klabnik
b2023a3294 Merge pull request #739 from rust-lang/ch7-ce
Ch7 after copyediting
2017-06-02 12:28:29 -04:00
Carol (Nichols || Goulding)
df54df12a1 Make the change in #738 in the doc too 2017-06-02 11:21:07 -04:00
Carol (Nichols || Goulding)
6241f8c1f7 Merge pull request #738 from GuillaumeGomez/patch-1
Add missing dot
2017-06-02 11:11:12 -04:00
Carol (Nichols || Goulding)
599f79ed9b Merge pull request #742 from Svenito/patch-2
Clarify value of base on first iteration of fold
2017-06-02 11:10:18 -04:00
Carol (Nichols || Goulding)
f478df7b5f Merge pull request #699 from pietroalbini/loop_break_value
Document the loop_break_value feature
2017-06-02 11:07:35 -04:00
Sven Steinbauer
5a388b42af Clarify value of base on first iteration of fold
The original text was a bit confusing as it read as if the accumulator was given the value of base on the first iteration.
2017-06-02 14:51:51 +01:00
Carol (Nichols || Goulding)
e0183b72c3 spellingz 2017-06-02 09:26:00 -04:00
Pietro Albini
38cb0d7272 Add a section about the loop_break_value feature
This commit adds a section to the newest features appendix about the
loop_break_value feature, which should be stabilized soon.
2017-06-02 15:25:59 +02:00
Pietro Albini
5a93856e01 Remove trailing whitespace in the init field shortand section 2017-06-02 15:25:55 +02:00
Carol (Nichols || Goulding)
5ee93a0fb8 Unpin nightly 2017-06-02 09:21:40 -04:00
projektir
b35c22e7ef Tweaking wording #734 2017-06-01 22:44:52 -04:00
Carol (Nichols || Goulding)
84486001a2 Forward porting the nostarch md changes to src 2017-06-01 17:03:40 -04:00
Carol (Nichols || Goulding)
e6cfae05ff Forward porting the docx changes to nostarch md 2017-06-01 17:03:40 -04:00
Carol (Nichols || Goulding)
1b83461fec Update xsl because ofc there's new formatting 2017-06-01 17:03:40 -04:00
Carol (Nichols || Goulding)
251ac7a25a Updating the table of contents 2017-06-01 17:03:40 -04:00
Carol (Nichols || Goulding)
a71ec43df3 Backporting changes from src to the doc 2017-06-01 16:07:36 -04:00
Guillaume Gomez
eb0a1f3206 Add missing dot 2017-06-01 21:47:02 +02:00
Carol (Nichols || Goulding)
917be6ed9f Carol edits to docx 2017-06-01 15:42:17 -04:00
steveklabnik
f746084b09 fix broken links in first edition README 2017-06-01 14:25:52 -04:00
projektir
6cd7c81063 Tweaking wording related to the usage of the mod keyword #721 2017-06-01 11:54:09 -04:00
Carol (Nichols || Goulding)
68aa441660 Chapter 7 as received from nostarch 2017-06-01 10:55:48 -04:00
Carol (Nichols || Goulding)
b4a8d63b62 Don't try to resolve error codes like [E0106] as links 2017-06-01 10:49:03 -04:00
Carol (Nichols || Goulding)
88a5bfa87a Merge pull request #707 from rust-lang/ch13-edits
[WIP] Ch13 edits
2017-06-01 10:28:31 -04:00
Carol (Nichols || Goulding)
50e0200519 Merge pull request #733 from functor/master
Some minor corrections in ch20 (2nd ed.)
2017-06-01 10:22:10 -04:00
Carol (Nichols || Goulding)
5ecb59505b Merge pull request #735 from GuillaumeGomez/little-improvements
Slighty better rewording
2017-06-01 10:19:25 -04:00
Carol (Nichols || Goulding)
519ce241f2 Merge pull request #736 from TomasTomecek/fixup-731
Grammar improvements of #731
2017-06-01 10:18:46 -04:00
Carol (Nichols || Goulding)
cf4ee91648 Merge pull request #737 from evuez/minted-not-printed
Replace "printed" with "minted"
2017-06-01 10:18:08 -04:00
Carol (Nichols || Goulding)
58eae59715 Clarify a few more things 2017-06-01 10:15:26 -04:00
evuez
f2ab7bcd79 Replace "printed" with "minted"
Fixes #591:

> Coins are not "printed". The verb in this sentence should be minted.
2017-06-01 15:33:15 +02:00
Tomas Tomecek
9acf423e67 Grammar improvements of #731
Signed-off-by: Tomas Tomecek <ttomecek@redhat.com>
2017-06-01 15:07:37 +02:00
Guillaume Gomez
9a2e6dbf17 Slighty better rewording 2017-06-01 10:03:43 +02:00