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.
2 parents 6490a7d + ef87a7f commit 0aba6a5Copy full SHA for 0aba6a5
library/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