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`.
This commit is contained in:
commit
1638a5514b
1 changed files with 1 additions and 1 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue