rollup merge of #21819: dsyang/doc_fix

as titled.  See issue #21770
This commit is contained in:
Alex Crichton 2015-02-02 10:58:17 -08:00
commit 10de0d9898

View File

@ -1063,7 +1063,7 @@ mod foo {
extern crate core;
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 foo::bar::foobar; // good: foo is at crate root