Skip to content

Commit b1ff3c8

Browse files
committed
Fix docs for '<[T]>::as_array';
1 parent caa8172 commit b1ff3c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/slice/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -858,7 +858,7 @@ impl<T> [T] {
858858

859859
/// Gets a reference to the underlying array.
860860
///
861-
/// If `N` is not exactly equal to slice's the length of `self`, then this method returns `None`.
861+
/// If `N` is not exactly equal to the length of `self`, then this method returns `None`.
862862
#[unstable(feature = "slice_as_array", issue = "133508")]
863863
#[rustc_const_unstable(feature = "slice_as_array", issue = "133508")]
864864
#[inline]

0 commit comments

Comments
 (0)