style-guide: Define what an item is
This commit is contained in:
parent
5d637219e4
commit
f972e09f76
@ -1,5 +1,10 @@
|
||||
## Items
|
||||
|
||||
Items consist of the set of things permitted at the top level of a module.
|
||||
However, Rust also allows some items to appear within some other types of
|
||||
items, such as within a function. The same formatting conventions apply whether
|
||||
an item appears at module level or within another item.
|
||||
|
||||
`extern crate` statements must be first in a file. They must be ordered
|
||||
alphabetically.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user