@@ -189,7 +189,7 @@ grammar as double-quoted strings. Other tokens have exact rules given.
189189
190190| | | | | |
191191| ----------| ----------| ----------| ----------| ---------|
192- | abstract | alignof | as | be | box |
192+ | abstract | alignof | as | become | box |
193193| break | const | continue | crate | do |
194194| else | enum | extern | false | final |
195195| fn | for | if | impl | in |
@@ -381,11 +381,13 @@ character (`\`), or a single _escape_. It is equivalent to a `u8` unsigned
381381
382382##### Byte string literals
383383
384- A _ byte string literal_ is a sequence of ASCII characters and _ escapes_
385- enclosed within two ` U+0022 ` (double-quote) characters, with the exception of
386- ` U+0022 ` itself, which must be _ escaped_ by a preceding ` U+005C ` character
387- (` \ ` ), or a _ raw byte string literal_ . It is equivalent to a ` &'static [u8] `
388- borrowed array of unsigned 8-bit integers.
384+ A non-raw _ byte string literal_ is a sequence of ASCII characters and _ escapes_ ,
385+ preceded by the characters ` U+0062 ` (` b ` ) and ` U+0022 ` (double-quote), and
386+ followed by the character ` U+0022 ` . If the character ` U+0022 ` is present within
387+ the literal, it must be _ escaped_ by a preceding ` U+005C ` (` \ ` ) character.
388+ Alternatively, a byte string literal can be a _ raw byte string literal_ , defined
389+ below. A byte string literal is equivalent to a ` &'static [u8] ` borrowed array
390+ of unsigned 8-bit integers.
389391
390392Some additional _ escapes_ are available in either byte or non-raw byte string
391393literals. An escape starts with a ` U+005C ` (` \ ` ) and continues with one of the
@@ -1253,9 +1255,7 @@ fn my_err(s: &str) -> ! {
12531255We call such functions "diverging" because they never return a value to the
12541256caller. Every control path in a diverging function must end with a ` panic!() ` or
12551257a call to another diverging function on every control path. The ` ! ` annotation
1256- does * not* denote a type. Rather, the result type of a diverging function is a
1257- special type called ⊥ ("bottom") that unifies with any type. Rust has no
1258- syntax for ⊥.
1258+ does * not* denote a type.
12591259
12601260It might be necessary to declare a diverging function because as mentioned
12611261previously, the typechecker checks that every control path in a function ends
@@ -2354,8 +2354,8 @@ Supported traits for `derive` are:
23542354* ` FromPrimitive ` , to create an instance from a numeric primitive.
23552355* ` Hash ` , to iterate over the bytes in a data type.
23562356* ` Rand ` , to create a random instance of a data type.
2357- * ` Show ` , to format a value using the ` {} ` formatter.
2358- * ` Zero ` , to create a zero instance of a numeric data type .
2357+ * ` Debug ` , to format a value using the ` {:? } ` formatter.
2358+ * ` Copy ` , for "Plain Old Data" types which can be copied by simply moving bits .
23592359
23602360### Compiler Features
23612361
0 commit comments