Skip to content

Commit 10de0d9

Browse files
committed
rollup merge of rust-lang#21819: dsyang/doc_fix
as titled. See issue rust-lang#21770
2 parents 04213eb + 7eaa589 commit 10de0d9

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
@@ -1063,7 +1063,7 @@ mod foo {
10631063
extern crate core;
10641064
10651065
use foo::core::iter; // good: foo is at crate root
1066-
// use core::iter; // bad: native is not at the crate root
1066+
// use core::iter; // bad: core is not at the crate root
10671067
use self::baz::foobaz; // good: self refers to module 'foo'
10681068
use foo::bar::foobar; // good: foo is at crate root
10691069

0 commit comments

Comments
 (0)