Fill in tracking issue for feature const_align_offset

This commit is contained in:
Maybe Waffle 2021-11-16 23:58:40 +03:00
parent 8f5f094432
commit f926c0e0d9
2 changed files with 2 additions and 2 deletions

View file

@ -879,7 +879,7 @@ impl<T: ?Sized> *const T {
/// # } } /// # } }
/// ``` /// ```
#[stable(feature = "align_offset", since = "1.36.0")] #[stable(feature = "align_offset", since = "1.36.0")]
#[rustc_const_unstable(feature = "const_align_offset", issue = "none")] #[rustc_const_unstable(feature = "const_align_offset", issue = "90962")]
pub const fn align_offset(self, align: usize) -> usize pub const fn align_offset(self, align: usize) -> usize
where where
T: Sized, T: Sized,

View file

@ -1142,7 +1142,7 @@ impl<T: ?Sized> *mut T {
/// # } } /// # } }
/// ``` /// ```
#[stable(feature = "align_offset", since = "1.36.0")] #[stable(feature = "align_offset", since = "1.36.0")]
#[rustc_const_unstable(feature = "const_align_offset", issue = "none")] #[rustc_const_unstable(feature = "const_align_offset", issue = "90962")]
pub const fn align_offset(self, align: usize) -> usize pub const fn align_offset(self, align: usize) -> usize
where where
T: Sized, T: Sized,