Skip to content

Commit d57e141

Browse files
CoAlloc: FIXME: raw_vec::assert_alignment()
1 parent 3139f35 commit d57e141

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

library/alloc/src/raw_vec.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,7 @@ where
281281
&self.alloc
282282
}
283283

284+
// @FIXME
284285
#[inline]
285286
const fn assert_alignment() {
286287
assert!(mem::size_of::<T>() % mem::align_of::<T>() == 0);

0 commit comments

Comments
 (0)