Skip to content

Commit

Permalink
update w/ clippy recommendation
Browse files Browse the repository at this point in the history
  • Loading branch information
jaisnan committed Oct 27, 2023
1 parent a025bc9 commit 4dfc327
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kani-driver/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ enum InvocationType {

/// Peeks at command line arguments to determine if we're being invoked as 'kani' or 'cargo-kani'
fn determine_invocation_type(mut args: Vec<OsString>) -> InvocationType {
let exe = util::executable_basename(&args.get(0));
let exe = util::executable_basename(&args.first());

// Case 1: if 'kani' is our first real argument, then we're being invoked as cargo-kani
// 'cargo kani ...' will cause cargo to run 'cargo-kani kani ...' preserving argv1
Expand Down

0 comments on commit 4dfc327

Please sign in to comment.