Skip to content

Commit 1638a55

Browse files
Rollup merge of #133743 - bjoernager:slice-as-array, r=joboet
Fix docs for `<[T]>::as_array`. Tracking issue: #133508 This PR fixes a small typographical error in the docs entry for `<[T]>::as_array`.
2 parents 97cc31a + b1ff3c8 commit 1638a55

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
#[inline]
864864
#[must_use]

0 commit comments

Comments
 (0)