remove pointless rustc_const_unstable on trait impls
This commit is contained in:
parent
7f4b270aa4
commit
7f9a541059
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user