clippy
This commit is contained in:
parent
1f09dd21b7
commit
8cbac823d0
@ -37,7 +37,7 @@ fn handle_miri_get_backtrace(
|
||||
let this = self.eval_context_mut();
|
||||
let tcx = this.tcx;
|
||||
|
||||
let flags = if let Some(flags_op) = args.get(0) {
|
||||
let flags = if let Some(flags_op) = args.first() {
|
||||
this.read_scalar(flags_op)?.to_u64()?
|
||||
} else {
|
||||
throw_ub_format!("expected at least 1 argument")
|
||||
|
Loading…
Reference in New Issue
Block a user