fix use decl code example in reference
This commit is contained in:
parent
474b324eda
commit
7eaa589fe5
@ -1061,7 +1061,7 @@ mod foo {
|
|||||||
extern crate core;
|
extern crate core;
|
||||||
|
|
||||||
use foo::core::iter; // good: foo is at crate root
|
use foo::core::iter; // good: foo is at crate root
|
||||||
// use core::iter; // bad: native is not at the crate root
|
// use core::iter; // bad: core is not at the crate root
|
||||||
use self::baz::foobaz; // good: self refers to module 'foo'
|
use self::baz::foobaz; // good: self refers to module 'foo'
|
||||||
use foo::bar::foobar; // good: foo is at crate root
|
use foo::bar::foobar; // good: foo is at crate root
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user