Skip to content

Commit

Permalink
Merge pull request #665 from ehuss/undocument-use
Browse files Browse the repository at this point in the history
Undocument `use` paths.
  • Loading branch information
Centril committed Apr 8, 2020
2 parents dd86fed + 5661455 commit da3098c
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/items/use-declarations.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,13 +85,9 @@ In this example, the module `quux` re-exports two public names defined in

## `use` Paths

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

```rust
Expand Down

0 comments on commit da3098c

Please sign in to comment.