Skip to content

Commit 7eaa589

Browse files
author
Dan Yang
committed
fix use decl code example in reference
1 parent 474b324 commit 7eaa589

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1061,7 +1061,7 @@ mod foo {
10611061
extern crate core;
10621062
10631063
use foo::core::iter; // good: foo is at crate root
1064-
// use core::iter; // bad: native is not at the crate root
1064+
// use core::iter; // bad: core is not at the crate root
10651065
use self::baz::foobaz; // good: self refers to module 'foo'
10661066
use foo::bar::foobar; // good: foo is at crate root
10671067

0 commit comments

Comments
 (0)