From: Bruce Mitchener Date: Thu, 1 Aug 2019 08:07:40 +0000 (+0700) Subject: FixedSizeArray: Add missing links in doc comments. X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=b5c04e6d9e9063a0479fcfb125b0f03385d43332;p=rust.git FixedSizeArray: Add missing links in doc comments. --- diff --git a/src/libcore/array.rs b/src/libcore/array.rs index 517893a1967..b5614010e5c 100644 --- a/src/libcore/array.rs +++ b/src/libcore/array.rs @@ -24,9 +24,12 @@ /// layout in memory of a fixed size array (for example, for unsafe /// initialization). /// -/// Note that the traits AsRef and AsMut provide similar methods for types that +/// Note that the traits [`AsRef`] and [`AsMut`] provide similar methods for types that /// may not be fixed-size arrays. Implementors should prefer those traits /// instead. +/// +/// [`AsRef`]: ../convert/trait.AsRef.html +/// [`AsMut`]: ../convert/trait.AsMut.html #[unstable(feature = "fixed_size_array", issue = "27778")] pub unsafe trait FixedSizeArray { /// Converts the array to immutable slice