diff options
| author | Pietro Albini <pietro@pietroalbini.org> | 2023-04-16 16:33:38 +0200 |
|---|---|---|
| committer | Josh Stone <jistone@redhat.com> | 2023-04-28 08:47:55 -0700 |
| commit | 4e04da618391a3374ba7c37c2d4a6092aaab0927 (patch) | |
| tree | b681b4927db724c026edd709a71c32581162377b /library/core/src/ptr | |
| parent | 43a78029b4f4d92978b8fde0a677ea300b113c41 (diff) | |
| download | rust-4e04da618391a3374ba7c37c2d4a6092aaab0927.tar.gz rust-4e04da618391a3374ba7c37c2d4a6092aaab0927.zip | |
replace version placeholders
Diffstat (limited to 'library/core/src/ptr')
| -rw-r--r-- | library/core/src/ptr/non_null.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/ptr/non_null.rs b/library/core/src/ptr/non_null.rs index 506d891d989..61fcdf58b4f 100644 --- a/library/core/src/ptr/non_null.rs +++ b/library/core/src/ptr/non_null.rs @@ -473,7 +473,7 @@ impl<T> NonNull<[T]> { /// /// (Note that this example artificially demonstrates a use of this method, /// but `let slice = NonNull::from(&x[..]);` would be a better way to write code like this.) - #[stable(feature = "nonnull_slice_from_raw_parts", since = "CURRENT_RUSTC_VERSION")] + #[stable(feature = "nonnull_slice_from_raw_parts", since = "1.70.0")] #[rustc_const_unstable(feature = "const_slice_from_raw_parts_mut", issue = "67456")] #[must_use] #[inline] |
