Skip to content

Commit 9b722c1

Browse files
committed
remove trailing whitespace causing ci error
1 parent 6e72456 commit 9b722c1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/shims/foreign_items.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriEvalContextExt<'mir, 'tcx
403403

404404
return this.emulate_allocator(Symbol::intern("__rg_alloc"), |this| {
405405
Self::check_alloc_request(size, align)?;
406-
406+
407407
let ptr = this.memory.allocate(
408408
Size::from_bytes(size),
409409
Align::from_bytes(align).unwrap(),
@@ -420,7 +420,7 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriEvalContextExt<'mir, 'tcx
420420

421421
return this.emulate_allocator(Symbol::intern("__rg_alloc_zeroed"), |this| {
422422
Self::check_alloc_request(size, align)?;
423-
423+
424424
let ptr = this.memory.allocate(
425425
Size::from_bytes(size),
426426
Align::from_bytes(align).unwrap(),
@@ -457,7 +457,7 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriEvalContextExt<'mir, 'tcx
457457

458458
return this.emulate_allocator(Symbol::intern("__rg_realloc"), |this| {
459459
Self::check_alloc_request(new_size, align)?;
460-
460+
461461
let align = Align::from_bytes(align).unwrap();
462462
let new_ptr = this.memory.reallocate(
463463
ptr,

0 commit comments

Comments
 (0)