Skip to content

Commit

Permalink
Unrolled build for rust-lang#133743
Browse files Browse the repository at this point in the history
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`.
  • Loading branch information
rust-timer authored Dec 2, 2024
2 parents 32eea2f + b1ff3c8 commit b3a790f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/core/src/slice/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -858,7 +858,7 @@ impl<T> [T] {

/// Gets a reference to the underlying array.
///
/// If `N` is not exactly equal to slice's the length of `self`, then this method returns `None`.
/// If `N` is not exactly equal to the length of `self`, then this method returns `None`.
#[unstable(feature = "slice_as_array", issue = "133508")]
#[inline]
#[must_use]
Expand Down

0 comments on commit b3a790f

Please sign in to comment.