Skip to content

Commit d4c30b2

Browse files
RalfJungbjorn3
andauthored
Fix typo
Co-Authored-By: bjorn3 <[email protected]>
1 parent 958bd01 commit d4c30b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/shims/foreign_items.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriEvalContextExt<'mir, 'tcx
223223

224224
// Rust allocation
225225
// (Usually these would be forwarded to to `#[global_allocator]`; we instead implement a generic
226-
// allocation that also checks that all conditions are emt, such as not permitting zero-sized allocations.)
226+
// allocation that also checks that all conditions are met, such as not permitting zero-sized allocations.)
227227
"__rust_alloc" => {
228228
let size = this.read_scalar(args[0])?.to_machine_usize(this)?;
229229
let align = this.read_scalar(args[1])?.to_machine_usize(this)?;

0 commit comments

Comments
 (0)