Skip to content

Commit 35b2bfd

Browse files
committed
ptr::try_cast_aligned: link tracking issue
1 parent 28e1104 commit 35b2bfd

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

library/core/src/ptr/const_ptr.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ impl<T: ?Sized> *const T {
8484
/// let ptr: *const u8 = 0x1000 as _;
8585
/// assert!(ptr.try_cast_aligned::<AlignedI32>().is_some());
8686
/// ```
87-
#[unstable(feature = "pointer_try_cast_aligned", since = "TBD")]
87+
#[unstable(feature = "pointer_try_cast_aligned", issue = "141221")]
8888
#[must_use = "this returns the result of the operation, \
8989
without modifying the original"]
9090
#[inline(always)]

library/core/src/ptr/mut_ptr.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ impl<T: ?Sized> *mut T {
6666
/// let ptr: *mut u8 = 0x1000 as _;
6767
/// assert!(ptr.try_cast_aligned::<AlignedI32>().is_some());
6868
/// ```
69-
#[unstable(feature = "pointer_try_cast_aligned", since = "TBD")]
69+
#[unstable(feature = "pointer_try_cast_aligned", issue = "141221")]
7070
#[must_use = "this returns the result of the operation, \
7171
without modifying the original"]
7272
#[inline(always)]

library/core/src/ptr/non_null.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@ impl<T: ?Sized> NonNull<T> {
507507
/// let non_null = NonNull::new(ptr).unwrap();
508508
/// assert!(non_null.try_cast_aligned::<AlignedI32>().is_some());
509509
/// ```
510-
#[unstable(feature = "pointer_try_cast_aligned", since = "TBD")]
510+
#[unstable(feature = "pointer_try_cast_aligned", issue = "141221")]
511511
#[must_use = "this returns the result of the operation, \
512512
without modifying the original"]
513513
#[inline(always)]

0 commit comments

Comments
 (0)