Skip to content

Commit c20c685

Browse files
committed
Remove FIXME #2699---I believe the calculation is correct. Fixes #2699.
1 parent a784997 commit c20c685

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/rt/rust_util.h

-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ typedef rust_vec_box rust_str;
8181

8282
inline size_t get_box_size(size_t body_size, size_t body_align) {
8383
size_t header_size = sizeof(rust_opaque_box);
84-
// FIXME (#2699): This alignment calculation is suspicious. Is it right?
8584
size_t total_size = align_to(header_size, body_align) + body_size;
8685
return total_size;
8786
}

0 commit comments

Comments
 (0)