Commit Graph

80 Commits

Author SHA1 Message Date
Eric Huss 855f9e4e7f Remove unused theme directories. 2022-07-11 11:16:11 -04:00
Kornel 1768b73dcc More link fixes 2019-02-25 01:33:17 +00:00
Kornel Lesiński 9507819025 Exclude the dummy book from search engines 2019-02-06 13:21:28 +01:00
Daniel Parker 622f89af7a Add procedural macros 2019-02-05 18:45:08 +00:00
Daniel Parker 3ecea1a598 Add some more links 2019-02-05 18:44:32 +00:00
Daniel Parker a6bf17733c Update some more links 2019-02-05 18:38:10 +00:00
Daniel Parker eaf33af2c0 Fix some links for first edition 2019-02-05 18:04:03 +00:00
LukeMathWalker efff5f72ac Link to the relevant section in the new book. 2019-02-02 15:07:23 +00:00
Steve Klabnik 768a389337 remove first edition content 2018-11-20 16:40:05 -05:00
Steve Klabnik fc4274d906 rustbuild won
I want these in the redirect directory, but rustbuild just isn't having it.
2018-11-20 14:50:24 -05:00
Steve Klabnik 1fedfc4b96 move the book to the top level 2018-11-20 13:45:05 -05:00
steveklabnik acc5ee2513 copy second edition to 2018 edition
Also update the GitHub links of first and second edition
2018-04-05 12:51:22 -04:00
Guillaume Gomez 6ad1c5a0ea Remove description from error handling 2018-04-01 14:29:40 +02:00
jam 0cfadfc92c Fix unit abbreviation 2018-03-14 19:07:08 -04:00
nabijaczleweli 68e95ec7c4
Add missing syntax highlighting in Variadic Macros sexion in FFI 2018-03-02 23:54:43 +01:00
nabijaczleweli cd6fa02abe
Fix misindent and comment text spacing on Procedural Macros page 2018-02-21 23:33:55 +01:00
steveklabnik b7f8847dde Second edition is now the definitive edition
* Remove warning about draft from second edition
* Add warning about first edition draft being older
* Change overview page to better state today's situation
2018-02-21 12:20:21 -05:00
Stephane Raux 1034a3477b Fixed statement about static and Sync 2018-01-28 19:43:27 -08:00
Stephane Raux ebf3dc334a Fixed doc regarding Drop and static
Types implementing `Drop` are allowed in `static` and `const` definitions since
rust 1.22.0.
2018-01-28 19:27:59 -08:00
steveklabnik ac6f4cd291 update book.toml for mdbook 0.1 2018-01-26 12:25:12 -05:00
Carol (Nichols || Goulding) 628d34ee59
Merge pull request #1114 from bmusin/patch-10
fix typo
2018-01-12 16:06:41 -05:00
Carol (Nichols || Goulding) 9050de5638
Merge pull request #1113 from bmusin/patch-9
fix typo
2018-01-12 16:06:23 -05:00
Carol (Nichols || Goulding) 2360be6f70
Merge pull request #1112 from bmusin/patch-8
fix spelling
2018-01-12 16:06:07 -05:00
Carol (Nichols || Goulding) ea83bbc207
Merge pull request #1111 from bmusin/patch-7
fix typos
2018-01-12 16:05:49 -05:00
Carol (Nichols || Goulding) 345c0ef8e8
Merge pull request #1110 from bmusin/patch-6
fix typo
2018-01-12 16:05:24 -05:00
Carol (Nichols || Goulding) 42d3a74541
Merge pull request #1109 from bmusin/patch-5
refine wording
2018-01-12 16:05:09 -05:00
Carol (Nichols || Goulding) af9784ade1
Merge pull request #1108 from bmusin/patch-4
refine wording
2018-01-12 16:04:37 -05:00
Carol (Nichols || Goulding) d75460f536
Merge pull request #1107 from bmusin/patch-3
fix typo
2018-01-12 16:04:14 -05:00
Carol (Nichols || Goulding) 37221d239e
Merge pull request #1106 from bmusin/patch-2
fix typo
2018-01-12 16:03:59 -05:00
Bulat Musin 7b2bdf1baa
fix typo
Fix typo: cargo.toml -> Cargo.toml
2018-01-12 10:34:26 +03:00
Bulat Musin 03edfceeb6
fix typo
Fix typo: tradeoff -> trade-off
2018-01-12 10:00:15 +03:00
Bulat Musin 1ab6611253
fix spelling 2018-01-12 09:42:11 +03:00
Bulat Musin 282c3a3e93
fix typos 2018-01-11 11:06:24 +03:00
Bulat Musin 04f095cf68
fix typo
Inserted dash: "nitty-gritty".
2018-01-11 10:22:26 +03:00
Bulat Musin 1d2c61323e
refine wording
to a string sounds awkward,  to string is, probably, softer on the eye.
2018-01-11 09:52:09 +03:00
Bulat Musin 28531c3482
refine wording 2018-01-11 09:45:54 +03:00
Bulat Musin 4475811984
fix typo 2018-01-11 09:38:09 +03:00
Bulat Musin 5621b5eab4
fix typo 2018-01-11 09:34:55 +03:00
Bulat Musin 92b86d7eac
fix typo
thread-safe
2018-01-11 09:31:25 +03:00
Steve Klabnik fd88884f30
Merge pull request #1017 from notriddle/patch-2
Rename C-like enum to Field-less enum
2017-12-05 15:05:26 -05:00
Simon Sapin a3d7bc224a
Don’t recommend empty enums for opaque types
Same as https://github.com/rust-lang-nursery/nomicon/pull/44
2017-11-23 14:04:20 +01:00
Michael Howell 5e4b67f47d
Rename C-like enum to Field-less enum
There is no need to reference the C programming language to explain this concept.
2017-11-22 10:50:20 -07:00
Davy Duperron f5afdf152e
Fix Rust ignore sections. 2017-07-22 18:16:13 +02: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
Mauricio Lima Pilla 2fa2c6c927 Comment about size of allocated variables. 2017-06-04 08:09:53 -03: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
steveklabnik f746084b09 fix broken links in first edition README 2017-06-01 14:25:52 -04:00
Tomas Tomecek 9acf423e67 Grammar improvements of #731
Signed-off-by: Tomas Tomecek <ttomecek@redhat.com>
2017-06-01 15:07:37 +02:00
Tomas Tomecek 926407d279 explain clearly how to use macros within a crate
Fixes #579

Signed-off-by: Tomas Tomecek <ttomecek@redhat.com>
2017-05-31 13:23:04 +02:00
Carol (Nichols || Goulding) 0ea6520e3a Make links relative 2017-05-21 20:06:51 -06:00