File tree 1 file changed +8
-8
lines changed
1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -335,24 +335,24 @@ the crate.
335
335
``` rust
336
336
// Comments show the canonical path of the item.
337
337
338
- mod a { // ::a
339
- pub struct Struct ; // ::a::Struct
338
+ mod a { // crate ::a
339
+ pub struct Struct ; // crate ::a::Struct
340
340
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
343
343
}
344
344
345
345
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
347
347
}
348
348
349
349
impl Struct {
350
- fn g (& self ) {} // <::a::Struct>::g
350
+ fn g (& self ) {} // <crate ::a::Struct>::g
351
351
}
352
352
}
353
353
354
- mod without { // ::without
355
- fn canonicals () { // ::without::canonicals
354
+ mod without { // crate ::without
355
+ fn canonicals () { // crate ::without::canonicals
356
356
struct OtherStruct ; // None
357
357
358
358
trait OtherTrait { // None
You can’t perform that action at this time.
0 commit comments