Skip to content

Commit

Permalink
Fix docs for '<[T]>::as_array';
Browse files Browse the repository at this point in the history
  • Loading branch information
bjoernager committed Dec 2, 2024
1 parent caa8172 commit b1ff3c8
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")]
#[rustc_const_unstable(feature = "slice_as_array", issue = "133508")]
#[inline]
Expand Down

0 comments on commit b1ff3c8

Please sign in to comment.