about summary refs log tree commit diff
path: root/src/libcore/array.rs
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-08-02 12:14:18 +0200
committerGitHub <noreply@github.com>2019-08-02 12:14:18 +0200
commitdbfe12daed1ede9d2ccb6bf749143368bc5eade4 (patch)
treee7ee1d0a58556039d057087b74bfc8ef2d1f61a1 /src/libcore/array.rs
parent5155c7ea688b4025f4d25233e0f8353f51107269 (diff)
parent325c6a56c274678f294bfa25ee43e1eef48f46a2 (diff)
downloadrust-dbfe12daed1ede9d2ccb6bf749143368bc5eade4.tar.gz
rust-dbfe12daed1ede9d2ccb6bf749143368bc5eade4.zip
Rollup merge of #63189 - waywardmonkeys:doc-improvements, r=Centril
Doc improvements

Miscellaneous documentation fixes.
Diffstat (limited to 'src/libcore/array.rs')
-rw-r--r--src/libcore/array.rs5
1 files changed, 4 insertions, 1 deletions
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 @@ use crate::slice::{Iter, IterMut};
 /// 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<T> {
     /// Converts the array to immutable slice