You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/authoring.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -154,4 +154,4 @@ The reference does not document which targets exist, or the properties of specif
154
154
155
155
### Editions
156
156
157
-
The main text and flow should document only the current edition. Whenever there is a difference between editions, the differences should be called out with an "Edition Differences" block.
157
+
The main text and flow should document only the current edition. Whenever there is a difference between editions, the differences should be called out with an "Edition differences" block.
Copy file name to clipboardexpand all lines: src/introduction.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -82,9 +82,9 @@ These conventions are documented here.
82
82
83
83
An *example term* is an example of a term being defined.
84
84
85
-
* Differences in the language by which edition the crate is compiled under are in a blockquote that start with the words "Edition Differences:" in **bold**.
85
+
* Differences in the language by which edition the crate is compiled under are in a blockquote that start with the words "Edition differences:" in **bold**.
86
86
87
-
> **Edition Differences**: In the 2015 edition, this syntax is valid that is disallowed as of the 2018 edition.
87
+
> **Edition differences**: In the 2015 edition, this syntax is valid that is disallowed as of the 2018 edition.
88
88
89
89
* Notes that contain useful information about the state of the book or point out useful, but mostly out of scope, information are in blockquotes that start with the word "Note:" in **bold**.
Copy file name to clipboardexpand all lines: src/patterns.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -533,7 +533,7 @@ For example, `0u8..=255u8` is irrefutable.
533
533
The range of values for an integer type is the closed range from its minimum to maximum value.
534
534
The range of values for a `char` type are precisely those ranges containing all Unicode Scalar Values: `'\u{0000}'..='\u{D7FF}'` and `'\u{E000}'..='\u{10FFFF}'`.
535
535
536
-
> **Edition Differences**: Before the 2021 edition, range patterns with both a lower and upper bound may also be written using `...` in place of `..=`, with the same meaning.
536
+
> **Edition differences**: Before the 2021 edition, range patterns with both a lower and upper bound may also be written using `...` in place of `..=`, with the same meaning.
Copy file name to clipboardexpand all lines: src/tokens.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -375,7 +375,7 @@ c"\u{00E6}";
375
375
c"\xC3\xA6";
376
376
```
377
377
378
-
> **Edition Differences**: C string literals are accepted in the 2021 edition or
378
+
> **Edition differences**: C string literals are accepted in the 2021 edition or
379
379
> later. In earlier additions the token `c""` is lexed as `c ""`.
380
380
381
381
#### Raw C string literals
@@ -400,7 +400,7 @@ encoding. The characters `U+0022` (double-quote) (except when followed by at
400
400
least as many `U+0023` (`#`) characters as were used to start the raw C string
401
401
literal) or `U+005C` (`\`) do not have any special meaning.
402
402
403
-
> **Edition Differences**: Raw C string literals are accepted in the 2021
403
+
> **Edition differences**: Raw C string literals are accepted in the 2021
404
404
> edition or later. In earlier additions the token `cr""` is lexed as `cr ""`,
405
405
> and `cr#""#` is lexed as `cr #""#` (which is non-grammatical).
406
406
@@ -735,7 +735,7 @@ Note that raw identifiers, raw string literals, and raw byte string literals may
735
735
736
736
Similarly the `r`, `b`, `br`, `c`, and `cr` prefixes used in raw string literals, byte literals, byte string literals, raw byte string literals, C string literals, and raw C string literals are not interpreted as reserved prefixes.
737
737
738
-
> **Edition Differences**: Starting with the 2021 edition, reserved prefixes are reported as an error by the lexer (in particular, they cannot be passed to macros).
738
+
> **Edition differences**: Starting with the 2021 edition, reserved prefixes are reported as an error by the lexer (in particular, they cannot be passed to macros).
739
739
>
740
740
> Before the 2021 edition, reserved prefixes are accepted by the lexer and interpreted as multiple tokens (for example, one token for the identifier or keyword, followed by a `#` token).
0 commit comments