Commit Graph

80 Commits

Author SHA1 Message Date
Dennis Schridde 25487abce4 Hint at 2nd edition of this book
Text copied from index.md
2017-05-21 10:59:57 +02:00
Carol (Nichols || Goulding) 8eb3ad520f Merge pull request #692 from Pascal-So/patch-1
Fix off-by-one error in address description.
2017-05-15 16:02:40 -04:00
Willy Aguirre ad737933c5 fix refence to byte-and-byte-string-literals 2017-05-13 12:15:09 -05:00
Pascal Sommer 420a5ae0ed Fix off-by-one error in address description.
If the addresses range from 0 to 2^30-1, there are 2^30 addresses, not 2^30-1 as the text originally said.
2017-05-12 16:49:19 +02:00
Georg Sauthoff e9c617bda5 Remove superfluous return
Making it arguably more idiomatic and being consistent.

See also: https://doc.rust-lang.org/book/functions.html#early-returns
2017-05-09 22:19:58 +02:00
Naoki Kanatani b58cb13824 Fix an inconsitent coding style 2017-05-07 08:55:46 +09:00
Yogesh 090fcb88b1 fix(bibiliography): link to thesis by Florian 2017-04-30 01:39:25 +05:30
Alyssa Ross 59e5e65270 Add missing highlighting in first edition structs 2017-04-28 12:11:00 +01:00
Алексей Трифонов 602fa7c6eb Add spaces around the = sign in dependencies 2017-04-19 21:18:30 +03:00
Corey Farwell 98b18fabdd Update Unstable Book links to reflect to new layout.
https://github.com/rust-lang/rust/pull/41295
2017-04-17 13:33:10 -04:00
Jay Strict 573222ed32 1st edition: change either-or sequence for improved clarity 2017-04-05 18:56:40 +02:00
Geoffrey Thomas 399708cf7b procedural-macros: Rename parse_macro_input to parse_derive_input
See dtolnay/syn#63. (The old name is around, but this is more consistent
with syn's own docs.)
2017-03-30 19:49:27 -04:00
Adam Martinez 47f4de574d Rename normal and inverse functions
For improved clarity.
2017-03-28 19:26:21 -04:00
Adam Martinez aecb6abab4 Fix normal function call signature
The normal function should not take a reference to an i32, since the inverse function does not take a reference to T.

Giving these functions identical call signatures improves clarity, and it makes more sense to pass integers normally than by reference.
2017-03-28 19:22:31 -04:00
Ivan Cai 505a465667 Add link to “Rust as a Language for High Performance GC Implementation” to bibliography 2017-03-28 15:57:08 +11:00
Elisabeth Henry 7eb4469a00 Fix footnote in macros.md
By lacking an additional newline at the end, the footnote contained
the rest of the Markdown file. With mdbook it's not very visible
unless you inspect the HTML code, but it causes more problems for
export in other formats.
2017-03-27 16:52:11 +02:00
A.S. Gowri Sankar 549270d4e6 Update loops.md
Changed few sentences for better clarity
2017-03-27 01:09:34 +05:30
Chris Hall 8dc59a5439 Correcting first-edition github link 2017-03-25 13:23:31 +11:00
steveklabnik 59f76f1a29 Check that we don't use any unstable features.
We need to track Rust master, but don't want to cover unstable things.
As such, a new lint, `stable-check`, is added.

The second edition was already lint clean, but the first needed some
tweaks:

1. The closures chapter was showing off details of the closure traits,
   so just don't do that.
2. The FFI chapter was using internal libc to compile the tests, so just
   don't compile them anymore.
3. The compiler plugins chapter was vestigial and was moved to the
   unstable book.

Fixes #558
2017-03-23 14:14:57 -04:00
Jake Goulding 27602e47db Inclusive ranges are not stable, don't tell people to use them 2017-03-22 10:52:10 -04:00
steveklabnik de288b41b5 fix one more link 2017-03-20 12:52:52 -04:00
steveklabnik d7376702d2 Update book to
244f893ed7

Some changes have landed before we managed to extract things; this
updates things to be in line with those changes.
2017-03-20 11:37:24 -04:00
steveklabnik e89eee1174 one more 2017-03-15 14:06:57 -04:00
steveklabnik f5eee916b8 fix more links in error handling 2017-03-15 13:37:03 -04:00
steveklabnik 23a7a7bdb6 Fix up even more links in the first edition. 2017-03-15 13:27:36 -04:00
steveklabnik bd8d27beb5 fix some links 2017-03-15 13:11:12 -04:00
chariot6 eb5bab04f9 typo fix in concurrency.md
Changed `maintained in a thread safe matter` to `maintained in a thread safe manner`.
2017-03-12 01:55:13 -07:00
Matthew Jasper 769929fa23 Change to book.toml 2017-03-06 07:20:36 +00:00
Matthew Jasper e1fff88038 Add book.json for first edition
Fixes the page titles.
2017-03-04 22:08:20 +00:00
steveklabnik ccb1d87d6f import first draft of TRPL 2017-03-03 11:45:13 -05:00