Typo fix in use declaration section of reference
This commit is contained in:
parent
7ebfd853c2
commit
0f491bee69
1 changed files with 1 additions and 1 deletions
|
|
@ -881,7 +881,7 @@ mod foo {
|
|||
}
|
||||
|
||||
use foo::example::iter; // good: foo is at crate root
|
||||
// use example::iter; // bad: core is not at the crate root
|
||||
// use example::iter; // bad: example is not at the crate root
|
||||
use self::baz::foobaz; // good: self refers to module 'foo'
|
||||
use foo::bar::foobar; // good: foo is at crate root
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue