nightly clippy

I was on nightly for benchmarks, and these all seem reasonable.
This commit is contained in:
Richard Feldman 2021-06-17 23:14:32 -04:00
parent 6fe1d41c55
commit 53ccef0506
12 changed files with 36 additions and 47 deletions

View file

@ -1184,7 +1184,7 @@ pub enum Mode {
}
impl Mode {
fn to_call_mode<'ctx>(&self, function: FunctionValue<'ctx>) -> CallMode<'ctx> {
fn to_call_mode(self, function: FunctionValue<'_>) -> CallMode<'_> {
match self {
Mode::Inc => {
let amount = function.get_nth_param(1).unwrap().into_int_value();