File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -139,16 +139,14 @@ r[crate.crate_name]
139139## The ` crate_name ` attribute
140140
141141r[ crate.crate_name.general]
142- The * ` crate_name ` [ attribute] * may be applied at the crate level to specify the
143- name of the crate with the [ MetaNameValueStr] syntax.
142+ The * ` crate_name ` [ attribute] * may be applied at the crate level to specify the name of the crate with the [ MetaNameValueStr] syntax.
144143
145144``` rust
146145#![crate_name = " mycrate" ]
147146```
148147
149148r[ crate.crate_name.restriction]
150- The crate name must not be empty, and must only contain [ Unicode alphanumeric]
151- or ` _ ` (U+005F) characters.
149+ The crate name must not be empty, and must only contain [ Unicode alphanumeric] or ` _ ` (U+005F) characters.
152150
153151[ ^ phase-distinction ] : This distinction would also exist in an interpreter.
154152 Static checks like syntactic analysis, type checking, and lints should
You can’t perform that action at this time.
0 commit comments