Skip to content

Commit b5c04e6

Browse files
FixedSizeArray: Add missing links in doc comments.
1 parent 8a58268 commit b5c04e6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/libcore/array.rs

+4-1
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,12 @@ use crate::slice::{Iter, IterMut};
2424
/// layout in memory of a fixed size array (for example, for unsafe
2525
/// initialization).
2626
///
27-
/// Note that the traits AsRef and AsMut provide similar methods for types that
27+
/// Note that the traits [`AsRef`] and [`AsMut`] provide similar methods for types that
2828
/// may not be fixed-size arrays. Implementors should prefer those traits
2929
/// instead.
30+
///
31+
/// [`AsRef`]: ../convert/trait.AsRef.html
32+
/// [`AsMut`]: ../convert/trait.AsMut.html
3033
#[unstable(feature = "fixed_size_array", issue = "27778")]
3134
pub unsafe trait FixedSizeArray<T> {
3235
/// Converts the array to immutable slice

0 commit comments

Comments
 (0)