Skip to content

Commit da3098c

Browse files
authored
Merge pull request #665 from ehuss/undocument-use
Undocument `use` paths.
2 parents dd86fed + 5661455 commit da3098c

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/items/use-declarations.md

+2-6
Original file line numberDiff line numberDiff line change
@@ -85,13 +85,9 @@ In this example, the module `quux` re-exports two public names defined in
8585

8686
## `use` Paths
8787

88-
Paths in `use` items must start with a crate name or one of the [path
89-
qualifiers] `crate`, `self`, `super`, or `::`. `crate` refers to the current
90-
crate. `self` refers to the current module. `super` refers to the parent
91-
module. `::` can be used to explicitly refer to a crate, requiring an extern
92-
crate name to follow.
88+
> **Note**: This section is incomplete.
9389
94-
An example of what will and will not work for `use` items:
90+
Some examples of what will and will not work for `use` items:
9591
<!-- Note: This example works as-is in either 2015 or 2018. -->
9692

9793
```rust

0 commit comments

Comments
 (0)