mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 00:24:34 +00:00
nightly clippy
I was on nightly for benchmarks, and these all seem reasonable.
This commit is contained in:
parent
6fe1d41c55
commit
53ccef0506
12 changed files with 36 additions and 47 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue