File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -1419,6 +1419,7 @@ impl Disambiguator {
1419
1419
if let Some ( idx) = link. find ( '@' ) {
1420
1420
let ( prefix, rest) = link. split_at ( idx) ;
1421
1421
let d = match prefix {
1422
+ // If you update this list, please also update the relevant rustdoc book section!
1422
1423
"struct" => Kind ( DefKind :: Struct ) ,
1423
1424
"enum" => Kind ( DefKind :: Enum ) ,
1424
1425
"trait" => Kind ( DefKind :: Trait ) ,
@@ -1437,6 +1438,7 @@ impl Disambiguator {
1437
1438
Ok ( Some ( ( d, & rest[ 1 ..] , & rest[ 1 ..] ) ) )
1438
1439
} else {
1439
1440
let suffixes = [
1441
+ // If you update this list, please also update the relevant rustdoc book section!
1440
1442
( "!()" , DefKind :: Macro ( MacroKind :: Bang ) ) ,
1441
1443
( "!{}" , DefKind :: Macro ( MacroKind :: Bang ) ) ,
1442
1444
( "![]" , DefKind :: Macro ( MacroKind :: Bang ) ) ,
You can’t perform that action at this time.
0 commit comments