Fix links
This commit is contained in:
parent
2453946b1d
commit
af29620277
@ -1069,7 +1069,7 @@ fn handle_variant(
|
||||
};
|
||||
let parent_def = Res::Def(DefKind::Enum, parent);
|
||||
let variant = cx.tcx.expect_variant_res(res);
|
||||
Ok((parent_def, Some(format!("{}.v", variant.ident.name))))
|
||||
Ok((parent_def, Some(format!("variant.{}", variant.ident.name))))
|
||||
}
|
||||
|
||||
const PRIMITIVES: &[(&str, Res)] = &[
|
||||
|
@ -133,7 +133,7 @@ pub trait FileExt {
|
||||
/// Note that similar to [`File::write`], it is not an error to return a
|
||||
/// short write.
|
||||
///
|
||||
/// [`File::write`]: ../../../../std/fs/struct.File.html#write.v
|
||||
/// [`File::write`]: ../../../../std/fs/struct.File.html#method.write
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
|
@ -132,7 +132,7 @@ pub trait FileExt {
|
||||
/// Note that similar to [`File::write`], it is not an error to return a
|
||||
/// short write.
|
||||
///
|
||||
/// [`File::write`]: ../../../../std/fs/struct.File.html#write.v
|
||||
/// [`File::write`]: ../../../../std/fs/struct.File.html#method.write
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
|
Loading…
x
Reference in New Issue
Block a user