File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1069,7 +1069,7 @@ fn handle_variant(
1069
1069
} ;
1070
1070
let parent_def = Res :: Def ( DefKind :: Enum , parent) ;
1071
1071
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) ) ) )
1073
1073
}
1074
1074
1075
1075
const PRIMITIVES : & [ ( & str , Res ) ] = & [
Original file line number Diff line number Diff line change @@ -133,7 +133,7 @@ pub trait FileExt {
133
133
/// Note that similar to [`File::write`], it is not an error to return a
134
134
/// short write.
135
135
///
136
- /// [`File::write`]: ../../../../std/fs/struct.File.html#write.v
136
+ /// [`File::write`]: ../../../../std/fs/struct.File.html#method.write
137
137
///
138
138
/// # Examples
139
139
///
Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ pub trait FileExt {
132
132
/// Note that similar to [`File::write`], it is not an error to return a
133
133
/// short write.
134
134
///
135
- /// [`File::write`]: ../../../../std/fs/struct.File.html#write.v
135
+ /// [`File::write`]: ../../../../std/fs/struct.File.html#method.write
136
136
///
137
137
/// # Examples
138
138
///
You can’t perform that action at this time.
0 commit comments