Skip to content

Commit 9ab3b8f

Browse files
committed
fix clippy
1 parent 54e1e6c commit 9ab3b8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/shims/windows/foreign_items.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriInterpCxExt<'mir, 'tcx> {
432432
this.check_shim(abi, Abi::System { unwind: false }, link_name, args)?;
433433
let ptr = this.read_pointer(ptr)?;
434434
let len = this.read_target_usize(len)?;
435-
this.gen_random(ptr, len.into())?;
435+
this.gen_random(ptr, len)?;
436436
this.write_scalar(Scalar::from_i32(1), dest)?;
437437
}
438438
"BCryptGenRandom" => {

0 commit comments

Comments
 (0)