Fix docs for '<[T]>::as_array';

This commit is contained in:
Gabriel Bjørnager Jensen 2024-12-02 10:38:40 +01:00
parent caa81728c3
commit b1ff3c8b92

View File

@ -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]