Skip to content

Commit c354a0a

Browse files
GuillaumeGomezgitbot
authored and
gitbot
committed
Rollup merge of rust-lang#133743 - bjoernager:slice-as-array, r=joboet
Fix docs for `<[T]>::as_array`. Tracking issue: rust-lang#133508 This PR fixes a small typographical error in the docs entry for `<[T]>::as_array`.
2 parents 20e1de1 + 21b5d54 commit c354a0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)