Skip to content

Commit 4166039

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

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
@@ -303,7 +303,7 @@ impl<'gcc, 'tcx> ConstCodegenMethods for CodegenCx<'gcc, 'tcx> {
303303

304304
fn const_data_from_alloc(&self, alloc: ConstAllocation<'_>) -> Self::Value {
305305
// We ignore the aligement for the purpose of deduping RValues
306-
// The aligement is not handled / used in any way by `const_alloc_to_gcc`,
306+
// 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();
309309
mock_alloc.align = rustc_abi::Align::MAX;

0 commit comments

Comments
 (0)