92 Commits

Author SHA1 Message Date
Carol (Nichols || Goulding)
a014f0a70f Add urls to the dictionary 2025-10-18 21:13:33 -04:00
Carol (Nichols || Goulding)
74a54e53f6 Add webpage to dictionary 2025-10-14 13:03:53 -04:00
Carol (Nichols || Goulding)
bfdc3bbcae Add ETAPS to the dictionary 2025-10-14 13:03:53 -04:00
Carol (Nichols || Goulding)
1d7c3e6abe We are, indeed, ready to Rumbul. 2025-09-28 17:24:16 -04:00
Carol (Nichols || Goulding)
b22ac0c108 Add more link anchors to the dictionary 2025-09-28 17:24:16 -04:00
Carol (Nichols || Goulding)
2fe45ed685 Add 'optiont' to the dictionary; it's in a link anchor
Really we shouldn't be spellchecking html attributes but i am not
dealing with that right now 😅
2025-09-28 17:24:16 -04:00
Carol (Nichols || Goulding)
3e9dc46aa5 Add metavariable to the dictionary 2025-08-01 21:33:29 -04:00
Chris Krycho
4b2590f90c Merge branch 'main' into tell-folks-abi-ref 2025-03-17 15:09:41 -06:00
Chris Krycho
e5c8a0c99d Ch. 10: Make social media discussion generic.
Twitter is now X, who knows what 'tweets' are called, and whether *any*
of the current crop of social media platforms will exist by the time the
2027 or 2030 editions of Rust roll around, who knows?
2025-02-27 15:06:51 -07:00
Chris Krycho
dac5234891 Rust 1.85/2024 Edition: manual regeneration changes 2025-02-25 07:50:55 -07:00
Chris Krycho
5d22a358fb Backport fixes from NoStarch
This is an exhaustive pass in preparation for going the *other* way for
the 2024 Edition print update, i.e. the Third Edition of the print book.
2025-02-13 12:25:25 -07:00
Chris Krycho
7338a025d4 Ch. 17 (NoStarch edits): spelling fixes and dictionary updates 2025-01-21 15:42:12 -07:00
Chris Krycho
415d5c7b35 Ch. 20: tell folks to see the Reference for more ABI info 2024-12-16 11:35:23 -07:00
Chris Krycho
61d741742c Merge branch 'main' into main 2024-12-02 07:35:06 -07:00
Chris Krycho
3e725cdf9c Add 'Miri' and 'miri' to the dictionary 2024-11-06 12:43:04 -07:00
Chris Krycho
91381a1e11 Add new terms to dictionary 2024-11-06 11:57:23 -07:00
Chris Krycho
27f2d71453 Add Chris Krycho as an author. 2024-10-10 12:32:26 -06:00
Chris Krycho
06a3a7194a Merge main into async-chapter 2024-10-07 12:47:53 -06:00
Chris Krycho
52fa1c9f5e Standardize on 'adapter', not 'adaptor'
This matches what Rust docs use (since rust-lang/rust#87629).

Fixes #3824
2024-10-04 14:43:00 -06:00
Chris Krycho
b265249e48 Ch. 17: Fix spelling and internal links 2024-09-23 09:18:06 -06:00
Sergio Alejandro Ribera Costa
8e045a9a19 Merge branch 'rust-lang:main' into main 2024-07-28 02:26:36 -04:00
Chris Krycho
45f163588d Ch. 17: fix spelling issues 2024-07-22 10:39:18 -06:00
Carol (Nichols || Goulding)
ee5c7ec704 Yes, RUSTFLAGS is a word 2024-07-05 20:32:23 -04:00
Carol (Nichols || Goulding)
93a7176c9a Add subslices to the dictionary 2024-05-07 19:58:22 -04:00
Carol (Nichols || Goulding)
19c40bfd2d Add a rustc hash to spellcheck dictionary 2024-02-19 15:39:35 -05:00
Sergio Alejandro Ribera Costa
618a9c6eb6 add words to dictionary 2023-10-10 19:18:27 -04:00
Carol (Nichols || Goulding)
f2a78f64b6 Change CamelCase to UpperCamelCase
Brings the terminology in line with the rest of the project, see
<https://github.com/rust-lang/rfcs/pull/2389>.

Connects to #2194.
2023-01-23 13:19:32 -05:00
Carol (Nichols || Goulding)
0c6674de0c Add unittests to the allowed words 2022-10-20 16:39:55 -04:00
Carol (Nichols || Goulding)
b75254dbb0 Propagate edits of ch1 to src 2022-06-13 16:54:37 -04:00
Carol (Nichols || Goulding)
5df6909c57 Propagate edits to chapter 20 to src 2022-06-07 21:46:10 -04:00
Carol (Nichols || Goulding)
39f263f00c Propagate ch14 tech review changes to src 2022-06-04 10:14:33 -04:00
Carol (Nichols || Goulding)
e44d600dd1 Propagate ch12 tech review edits to src 2022-06-03 21:10:24 -04:00
Carol (Nichols || Goulding)
08965d76e1 New dictionary entries 2022-05-30 21:09:24 -04:00
Carol (Nichols || Goulding)
c77d7a1279 Propagate chapter 7 edits to src 2022-05-20 22:06:38 -04:00
Carol (Nichols || Goulding)
b723bcd9ec Fix spelling mistakes, update dictionary 2022-05-11 21:23:48 -04:00
Carol (Nichols || Goulding)
8fa865b498 Add words to dictionary 2022-04-30 14:14:27 -04:00
Carol (Nichols || Goulding)
5e58b9cc3f Start of better Fn traits explanation 2022-04-23 13:25:50 -04:00
Carol (Nichols || Goulding)
ce4da5ccbf Start of a new closure example 2022-04-21 10:33:03 -04:00
Carol (Nichols || Goulding)
c99c03c659 Make fixes recommended by shellcheck 2022-01-03 13:18:46 -05:00
Carol (Nichols || Goulding)
cf272254b8 SIGH add all the words to the dictionary that were missed while spellcheck was broken 2022-01-01 21:47:17 -05:00
Carol (Nichols || Goulding)
910714b472 Remove test_harness from the dictionary 2022-01-01 21:47:17 -05:00
Carol (Nichols || Goulding)
09e687ec7a set -eu in all bash scripts 2022-01-01 21:47:17 -05:00
Carol (Nichols || Goulding)
eb60fedc9c A solution for empty main in lib.rs, I think!
The reasons we needed empty `fn main() {}`s were twofold:

- Avoid confusing people when they click the "expand" button on the code
listing and see the auto-main wrapping
- Avoid failing doctests when running `mdbook test` that don't work when
rustdoc wraps a code listing in main

I think I have a solution that mostly solves these cases.

I don't know why this didn't occur to me before. Here's my current
thinking in case these assumptions turn out to be wrong:

There are a [few things that tell mdbook to disable the
main-wrapping][mdbook], and I hadn't noticed one of them until now: if
you annotate a code block with `noplayground`, it won't add a `main`
around it (and it also won't have the "play" button in the upper right
that runs the block and inserts the result into the page).

So instead of putting an empty `fn main() {}` at the bottom of
src/lib.rs files that doesn't make sense, annotate those listings with
`noplayground`. I don't think anyone will miss the play button anyway
because:

- The play button doesn't run tests, so there wasn't any output for
these examples anyway
- If an example doesn't compile, we have it marked `ignore` so that it
doesn't make the tests fail, and `ignore` also disables the play button,
so there isn't a way to see compiler errors either

In most of these cases, `mdbook test` that runs these as doctests will
still wrap these in main, but the tests still pass.

There are some cases, mostly around modules and using `crate::` that
won't pass as doctests when wrapped in main. For those, I've annotated
them with the [undocumented][] [`test_harness`][] attribute that apparently
I was using at some point and then [stopped using][] and now I've
decided to use again, but maybe send in a PR to rust-lang/rust to
change the name to `no_main` and document it or something. In any case,
that shouldn't affect readers at all.

[mdbook]: d0deee90b0/src/renderer/html_handlebars/hbs_renderer.rs (L805-L808)
[undocumented]: https://github.com/rust-lang/rust/issues/42288#issuecomment-309661382
[`test_harness`]: 220352781c/src/librustdoc/doctest.rs (L252)
[stopped using]: https://github.com/rust-lang/book/pull/1233#discussion_r175515585
2020-12-08 21:30:00 -05:00
Ryan Willis
855aabd099 Update ch12-05 PowerShell note 2020-06-02 17:04:02 -07:00
Steve Klabnik
e2108334d4 We don't need build.sh anymore 2020-05-22 23:48:48 -05:00
Steve Klabnik
4a49a4b7d9 Port to GitHub Actions
Most of the Rust project has moved over to Actions, but we were still on
Travis. This sets up the needed Actions for us.
2020-05-22 23:36:19 -05:00
Montgomery Edwards⁴⁴⁸
297534d172 Add https, proto, and tlsv to dictionary.txt 2020-04-12 23:21:18 -05:00
Eric Huss
6af7cbcd08 Use rust-lang/rust linkchecker on CI. 2020-02-21 09:23:10 -08:00
Carol (Nichols || Goulding)
f44367a4ca Add words to dictionary 2020-02-03 10:49:43 -05:00
Carol (Nichols || Goulding)
5c71aac643 Extract code listings to separate files 2020-01-25 21:20:38 -05:00