File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -681,14 +681,14 @@ and no [constraints](#constraints). Its return type must be [`nil`](#primitive-t
681
681
682
682
# Items and attributes
683
683
684
- A crate is a collection of [ items] ( #items ) , each of which may have some number
685
- of [ attributes] ( #attributes ) attached to it.
684
+ Crates contain [ items] ( #items ) ,
685
+ each of which may have some number of [ attributes] ( #attributes ) attached to it.
686
686
687
687
## Items
688
688
689
689
~~~~~~~~ {.ebnf .gram}
690
690
item : mod_item | fn_item | type_item | enum_item
691
- | res_item | trait_item | impl_item | foreign_mod_item ;
691
+ | const_item | trait_item | impl_item | foreign_mod_item ;
692
692
~~~~~~~~
693
693
694
694
An _ item_ is a component of a crate; some module items can be defined in crate
You can’t perform that action at this time.
0 commit comments