Skip to content

Commit 2109328

Browse files
committed
typos
1 parent 2280e97 commit 2109328

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

core/src/ptr/const_ptr.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,8 @@ impl<T: ?Sized> *const T {
132132
/// ```
133133
#[unstable(feature = "ptr_to_from_bits", issue = "91126")]
134134
#[deprecated(
135-
since = "1.67",
136-
note = "replaced by the `exposed_addr` method, or update your code \
135+
since = "1.67.0",
136+
note = "replaced by the `expose_addr` method, or update your code \
137137
to follow the strict provenance rules using its APIs"
138138
)]
139139
#[inline(always)]
@@ -161,7 +161,7 @@ impl<T: ?Sized> *const T {
161161
/// ```
162162
#[unstable(feature = "ptr_to_from_bits", issue = "91126")]
163163
#[deprecated(
164-
since = "1.67",
164+
since = "1.67.0",
165165
note = "replaced by the `ptr::from_exposed_addr` function, or update \
166166
your code to follow the strict provenance rules using its APIs"
167167
)]

core/src/ptr/mut_ptr.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,8 @@ impl<T: ?Sized> *mut T {
138138
/// ```
139139
#[unstable(feature = "ptr_to_from_bits", issue = "91126")]
140140
#[deprecated(
141-
since = "1.67",
142-
note = "replaced by the `exposed_addr` method, or update your code \
141+
since = "1.67.0",
142+
note = "replaced by the `expose_addr` method, or update your code \
143143
to follow the strict provenance rules using its APIs"
144144
)]
145145
#[inline(always)]
@@ -167,7 +167,7 @@ impl<T: ?Sized> *mut T {
167167
/// ```
168168
#[unstable(feature = "ptr_to_from_bits", issue = "91126")]
169169
#[deprecated(
170-
since = "1.67",
170+
since = "1.67.0",
171171
note = "replaced by the `ptr::from_exposed_addr_mut` function, or \
172172
update your code to follow the strict provenance rules using its APIs"
173173
)]

0 commit comments

Comments
 (0)