diff options
| author | Bruce Mitchener <bruce.mitchener@gmail.com> | 2019-08-01 15:07:40 +0700 |
|---|---|---|
| committer | Bruce Mitchener <bruce.mitchener@gmail.com> | 2019-08-01 20:24:05 +0700 |
| commit | b5c04e6d9e9063a0479fcfb125b0f03385d43332 (patch) | |
| tree | 59d89435d511354fbfc3dce21cf0674644e132e3 /src/libcore/array.rs | |
| parent | 8a58268b5ad9c4a240be349a633069d48991eb0c (diff) | |
| download | rust-b5c04e6d9e9063a0479fcfb125b0f03385d43332.tar.gz rust-b5c04e6d9e9063a0479fcfb125b0f03385d43332.zip | |
FixedSizeArray: Add missing links in doc comments.
Diffstat (limited to 'src/libcore/array.rs')
| -rw-r--r-- | src/libcore/array.rs | 5 |
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 |
