File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -335,24 +335,24 @@ the crate.
335335``` rust
336336// Comments show the canonical path of the item.
337337
338- mod a { // ::a
339- pub struct Struct ; // ::a::Struct
338+ mod a { // crate ::a
339+ pub struct Struct ; // crate ::a::Struct
340340
341- pub trait Trait { // ::a::Trait
342- fn f (& self ); // ::a::Trait::f
341+ pub trait Trait { // crate ::a::Trait
342+ fn f (& self ); // crate ::a::Trait::f
343343 }
344344
345345 impl Trait for Struct {
346- fn f (& self ) {} // <::a::Struct as ::a::Trait>::f
346+ fn f (& self ) {} // <crate ::a::Struct as crate ::a::Trait>::f
347347 }
348348
349349 impl Struct {
350- fn g (& self ) {} // <::a::Struct>::g
350+ fn g (& self ) {} // <crate ::a::Struct>::g
351351 }
352352}
353353
354- mod without { // ::without
355- fn canonicals () { // ::without::canonicals
354+ mod without { // crate ::without
355+ fn canonicals () { // crate ::without::canonicals
356356 struct OtherStruct ; // None
357357
358358 trait OtherTrait { // None
You can’t perform that action at this time.
0 commit comments