Skip to content

Commit ef87a7f

Browse files
committed
add missing FIXME(const-hack)
1 parent b511753 commit ef87a7f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎library/core/src/ptr/alignment.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ impl Alignment {
155155
!(unsafe{self.as_usize().unchecked_sub(1)})
156156
}
157157

158-
// Remove me once `Ord::max` is usable in const
158+
// FIXME(const-hack) Remove me once `Ord::max` is usable in const
159159
pub(crate)constfnmax(a:Self,b:Self) -> Self{
160160
if a.as_usize() > b.as_usize(){ a }else{ b }
161161
}

0 commit comments

Comments
 (0)