Skip to content

Commit 5a7f099

Browse files
FractalFirantoyo
andauthored
Update src/common.rs
Co-authored-by: antoyo <[email protected]>
1 parent 4166039 commit 5a7f099

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ impl<'gcc, 'tcx> ConstCodegenMethods for CodegenCx<'gcc, 'tcx> {
302302
}
303303

304304
fn const_data_from_alloc(&self, alloc: ConstAllocation<'_>) -> Self::Value {
305-
// We ignore the aligement for the purpose of deduping RValues
305+
// We ignore the alignment for the purpose of deduping RValues
306306
// The alignment is not handled / used in any way by `const_alloc_to_gcc`,
307307
// so it is OK to overwrite it here.
308308
let mut mock_alloc = alloc.inner().clone();

0 commit comments

Comments
 (0)