Skip to content

Commit b3a790f

Browse files
authored
Unrolled build for rust-lang#133743
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 32eea2f + b1ff3c8 commit b3a790f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/slice/mod.rs

Lines changed: 1 addition & 1 deletion
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)