File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1069,7 +1069,7 @@ fn handle_variant(
10691069 } ;
10701070 let parent_def = Res :: Def ( DefKind :: Enum , parent) ;
10711071 let variant = cx. tcx . expect_variant_res ( res) ;
1072- Ok ( ( parent_def, Some ( format ! ( "{}.v " , variant. ident. name) ) ) )
1072+ Ok ( ( parent_def, Some ( format ! ( "variant.{} " , variant. ident. name) ) ) )
10731073}
10741074
10751075const PRIMITIVES : & [ ( & str , Res ) ] = & [
Original file line number Diff line number Diff line change @@ -133,7 +133,7 @@ pub trait FileExt {
133133 /// Note that similar to [`File::write`], it is not an error to return a
134134 /// short write.
135135 ///
136- /// [`File::write`]: ../../../../std/fs/struct.File.html#write.v
136+ /// [`File::write`]: ../../../../std/fs/struct.File.html#method.write
137137 ///
138138 /// # Examples
139139 ///
Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ pub trait FileExt {
132132 /// Note that similar to [`File::write`], it is not an error to return a
133133 /// short write.
134134 ///
135- /// [`File::write`]: ../../../../std/fs/struct.File.html#write.v
135+ /// [`File::write`]: ../../../../std/fs/struct.File.html#method.write
136136 ///
137137 /// # Examples
138138 ///
You can’t perform that action at this time.
0 commit comments