remove pointless rustc_const_unstable on trait impls

This commit is contained in:
Ralf Jung 2024-09-08 08:45:41 +02:00
parent 7f4b270aa4
commit 7f9a541059

View File

@ -199,7 +199,6 @@ fn from(align: Alignment) -> usize {
}
}
#[rustc_const_unstable(feature = "const_alloc_layout", issue = "67521")]
#[unstable(feature = "ptr_alignment_type", issue = "102070")]
impl cmp::Ord for Alignment {
#[inline]
@ -208,7 +207,6 @@ fn cmp(&self, other: &Self) -> cmp::Ordering {
}
}
#[rustc_const_unstable(feature = "const_alloc_layout", issue = "67521")]
#[unstable(feature = "ptr_alignment_type", issue = "102070")]
impl cmp::PartialOrd for Alignment {
#[inline]