diff options
| author | Gabriel Bjørnager Jensen <gabriel@achernar.io> | 2024-12-02 10:38:40 +0100 |
|---|---|---|
| committer | Gabriel Bjørnager Jensen <gabriel@achernar.io> | 2024-12-02 10:38:40 +0100 |
| commit | b1ff3c8b924b911187d8fe456af03a6a197bb98c (patch) | |
| tree | 4ad6fd6794eb0e6f1b87624d90e92f5528543f68 /library | |
| parent | caa81728c37f5ccfa9a0979574b9272a67f8a286 (diff) | |
| download | rust-b1ff3c8b924b911187d8fe456af03a6a197bb98c.tar.gz rust-b1ff3c8b924b911187d8fe456af03a6a197bb98c.zip | |
Fix docs for '<[T]>::as_array';
Diffstat (limited to 'library')
| -rw-r--r-- | library/core/src/slice/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/slice/mod.rs b/library/core/src/slice/mod.rs index bc49b7d9797..5ff888628af 100644 --- a/library/core/src/slice/mod.rs +++ b/library/core/src/slice/mod.rs @@ -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] |
