@@ -76,8 +76,13 @@ An identifier is any nonempty Unicode[^non_ascii_idents] string of the following
7676[ ^ non_ascii_idents ] : Non-ASCII characters in identifiers are currently feature
7777 gated. This is expected to improve soon.
7878
79- - The first character has property ` XID_start `
80- - The remaining characters have property ` XID_continue `
79+ Either
80+ * The first character has property ` XID_start `
81+ * The remaining characters have property ` XID_continue `
82+ Or
83+ * The first character is ` _ `
84+ * The identifier is more than one character, ` _ ` alone is not an identifier
85+ * The remaining characters have property ` XID_continue `
8186
8287that does _ not_ occur in the set of [ keywords] [ keywords ] .
8388
@@ -3937,11 +3942,11 @@ initialized; this is enforced by the compiler.
39373942The Rust compiler supports various methods to link crates together both
39383943statically and dynamically. This section will explore the various methods to
39393944link Rust crates together, and more information about native libraries can be
3940- found in the [ ffi section of the book] [ ffi ] .
3945+ found in the [ FFI section of the book] [ ffi ] .
39413946
39423947In one session of compilation, the compiler can generate multiple artifacts
39433948through the usage of either command line flags or the ` crate_type ` attribute.
3944- If one or more command line flag is specified, all ` crate_type ` attributes will
3949+ If one or more command line flags are specified, all ` crate_type ` attributes will
39453950be ignored in favor of only building the artifacts specified by command line.
39463951
39473952* ` --crate-type=bin ` , ` #[crate_type = "bin"] ` - A runnable executable will be
@@ -3987,7 +3992,7 @@ Note that these outputs are stackable in the sense that if multiple are
39873992specified, then the compiler will produce each form of output at once without
39883993having to recompile. However, this only applies for outputs specified by the
39893994same method. If only ` crate_type ` attributes are specified, then they will all
3990- be built, but if one or more ` --crate-type ` command line flag is specified,
3995+ be built, but if one or more ` --crate-type ` command line flags are specified,
39913996then only those outputs will be built.
39923997
39933998With all these different kinds of outputs, if crate A depends on crate B, then
0 commit comments