Skip to content

Explicitly state "compilation modes"#3517

Merged
carols10cents merged 2 commits into
rust-lang:mainfrom
JackKelly:patch-1
Jun 29, 2026
Merged

Explicitly state "compilation modes"#3517
carols10cents merged 2 commits into
rust-lang:mainfrom
JackKelly:patch-1

Conversation

@JackKelly

Copy link
Copy Markdown
Contributor

I'm a Rust newbie. When I first read the line "Wrap in all modes...", I first thought that "mode" referred to different modes of the wrapping_ method. It took me a minute to realise that "mode" referred to the compilation mode! (Maybe I'm a bit sleepy today!) So I'd propose that the text explicitly says "compilation modes", to make the meaning as clear as possible :)

JackKelly and others added 2 commits January 23, 2023 15:35
I'm a Rust newbie. When I first read the line "Wrap in all modes...", I first thought that "mode" referred to different modes of the `wrapping_` method. It took me a minute to realise that "mode" referred to the _compilation_ mode! (Maybe I'm a bit sleepy today!) So I'd propose that the text explicitly says "compilation modes", to make the meaning as clear as possible :)

@carols10cents carols10cents left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@carols10cents
carols10cents merged commit 1640c49 into rust-lang:main Jun 29, 2026
3 checks passed
jhpratt added a commit to jhpratt/rust that referenced this pull request Jul 14, 2026
Update books

## rust-lang/book

3 commits in 05d114287b7d6f6c9253d5242540f00fbd6172ab..dd7ab4f4f4541adf4aa2a872cdac06c206b73288
2026-07-10 19:43:43 UTC to 2026-06-29 20:56:02 UTC

- Update to Rust 1.97 (rust-lang/book#4799)
- doc: upgrade rand dependency to v0.10.1 in book listings and text (rust-lang/book#4756)
- Explicitly state "compilation modes" (rust-lang/book#3517)

## rust-lang/edition-guide

1 commits in c3c0f0b3da26610138b7ba7663f60cd2c68cf184..53686db907c45268d1b323afd9a3545a37abbced
2026-07-10 17:05:04 UTC to 2026-07-10 17:05:04 UTC

- Fix typo of key name `resolver.incompatible-rust-versions` (rust-lang/edition-guide#385)

## rust-lang/reference

4 commits in 86635e30bf861a038dc197d7e16fd09e7e514e7a..afdc77bab886d4455c11247cdd32391bfab636ae
2026-07-09 16:48:44 UTC to 2026-07-06 14:48:32 UTC

- Fix the tagged-union pattern-matching recommendation (rust-lang/reference#2303)
- Structs with no fields or all-ZST fields are ZSTs (rust-lang/reference#2262)
- macros.md: fix case (rust-lang/reference#2307)
- Bump railroad-dependency (rust-lang/reference#2305)

## rust-lang/rust-by-example

1 commits in d3117f6c873acbbf331c1d510371d061dfcc975c..15308f3e951814ef3475d2b58f48276e6b17b9af
2026-07-06 10:14:39 UTC to 2026-07-06 10:14:39 UTC

- Update Chinese translations in `zh.po` (rust-lang/rust-by-example#2025)
jhpratt added a commit to jhpratt/rust that referenced this pull request Jul 14, 2026
Update books

## rust-lang/book

3 commits in 05d114287b7d6f6c9253d5242540f00fbd6172ab..dd7ab4f4f4541adf4aa2a872cdac06c206b73288
2026-07-10 19:43:43 UTC to 2026-06-29 20:56:02 UTC

- Update to Rust 1.97 (rust-lang/book#4799)
- doc: upgrade rand dependency to v0.10.1 in book listings and text (rust-lang/book#4756)
- Explicitly state "compilation modes" (rust-lang/book#3517)

## rust-lang/edition-guide

1 commits in c3c0f0b3da26610138b7ba7663f60cd2c68cf184..53686db907c45268d1b323afd9a3545a37abbced
2026-07-10 17:05:04 UTC to 2026-07-10 17:05:04 UTC

- Fix typo of key name `resolver.incompatible-rust-versions` (rust-lang/edition-guide#385)

## rust-lang/reference

4 commits in 86635e30bf861a038dc197d7e16fd09e7e514e7a..afdc77bab886d4455c11247cdd32391bfab636ae
2026-07-09 16:48:44 UTC to 2026-07-06 14:48:32 UTC

- Fix the tagged-union pattern-matching recommendation (rust-lang/reference#2303)
- Structs with no fields or all-ZST fields are ZSTs (rust-lang/reference#2262)
- macros.md: fix case (rust-lang/reference#2307)
- Bump railroad-dependency (rust-lang/reference#2305)

## rust-lang/rust-by-example

1 commits in d3117f6c873acbbf331c1d510371d061dfcc975c..15308f3e951814ef3475d2b58f48276e6b17b9af
2026-07-06 10:14:39 UTC to 2026-07-06 10:14:39 UTC

- Update Chinese translations in `zh.po` (rust-lang/rust-by-example#2025)
rust-timer added a commit to rust-lang/rust that referenced this pull request Jul 14, 2026
Rollup merge of #159241 - rustbot:docs-update, r=ehuss

Update books

## rust-lang/book

3 commits in 05d114287b7d6f6c9253d5242540f00fbd6172ab..dd7ab4f4f4541adf4aa2a872cdac06c206b73288
2026-07-10 19:43:43 UTC to 2026-06-29 20:56:02 UTC

- Update to Rust 1.97 (rust-lang/book#4799)
- doc: upgrade rand dependency to v0.10.1 in book listings and text (rust-lang/book#4756)
- Explicitly state "compilation modes" (rust-lang/book#3517)

## rust-lang/edition-guide

1 commits in c3c0f0b3da26610138b7ba7663f60cd2c68cf184..53686db907c45268d1b323afd9a3545a37abbced
2026-07-10 17:05:04 UTC to 2026-07-10 17:05:04 UTC

- Fix typo of key name `resolver.incompatible-rust-versions` (rust-lang/edition-guide#385)

## rust-lang/reference

4 commits in 86635e30bf861a038dc197d7e16fd09e7e514e7a..afdc77bab886d4455c11247cdd32391bfab636ae
2026-07-09 16:48:44 UTC to 2026-07-06 14:48:32 UTC

- Fix the tagged-union pattern-matching recommendation (rust-lang/reference#2303)
- Structs with no fields or all-ZST fields are ZSTs (rust-lang/reference#2262)
- macros.md: fix case (rust-lang/reference#2307)
- Bump railroad-dependency (rust-lang/reference#2305)

## rust-lang/rust-by-example

1 commits in d3117f6c873acbbf331c1d510371d061dfcc975c..15308f3e951814ef3475d2b58f48276e6b17b9af
2026-07-06 10:14:39 UTC to 2026-07-06 10:14:39 UTC

- Update Chinese translations in `zh.po` (rust-lang/rust-by-example#2025)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants