chore: Fix typos in 'compiler' (batch 1)

This commit is contained in:
Alexander Cyon
2024-09-02 07:42:38 +02:00
parent 78d5c04d9c
commit ac69544a17
35 changed files with 44 additions and 44 deletions

View File

@@ -827,7 +827,7 @@ impl<'tcx, M: Machine<'tcx>> InterpCx<'tcx, M> {
let (size, align) = if nested {
// Nested anonymous statics are untyped, so let's get their
// size and alignment from the allocaiton itself. This always
// size and alignment from the allocation itself. This always
// succeeds, as the query is fed at DefId creation time, so no
// evaluation actually occurs.
let alloc = self.tcx.eval_static_initializer(def_id).unwrap();