We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9ef35a commit f0660deCopy full SHA for f0660de
core/src/ptr/alignment.rs
@@ -155,7 +155,7 @@ impl Alignment {
155
!(unsafe { self.as_usize().unchecked_sub(1) })
156
}
157
158
- // Remove me once `Ord::max` is usable in const
+ // FIXME(const-hack) Remove me once `Ord::max` is usable in const
159
pub(crate) const fn max(a: Self, b: Self) -> Self {
160
if a.as_usize() > b.as_usize() { a } else { b }
161
0 commit comments