We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c56a53 commit c207dc9Copy full SHA for c207dc9
library/core/src/ptr/alignment.rs
@@ -168,6 +168,7 @@ impl From<Alignment> for usize {
168
}
169
170
#[rustc_const_unstable(feature = "const_alloc_layout", issue = "67521")]
171
+#[unstable(feature = "ptr_alignment_type", issue = "102070")]
172
impl const cmp::PartialEq for Alignment {
173
#[inline]
174
fn eq(&self, other: &Self) -> bool {
@@ -176,6 +177,7 @@ impl const cmp::PartialEq for Alignment {
176
177
178
179
180
181
impl const cmp::Ord for Alignment {
182
183
fn cmp(&self, other: &Self) -> cmp::Ordering {
0 commit comments