Skip to content

Commit 5bbf264

Browse files
CoAlloc: FIXME: raw_vec::assert_alignment()
1 parent 18d9361 commit 5bbf264

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)