mirror of
https://github.com/erg-lang/erg.git
synced 2025-10-02 13:41:10 +00:00
refactor: fix warns
This commit is contained in:
parent
cf726fe4a8
commit
edfabd97e7
14 changed files with 22 additions and 22 deletions
|
@ -582,7 +582,7 @@ impl<Checker: BuildRunnable, Parser: Parsable> Server<Checker, Parser> {
|
|||
_ => {}
|
||||
}
|
||||
let sig_t = other.t();
|
||||
sig_t.non_default_params()?.get(0).cloned()
|
||||
sig_t.non_default_params()?.first().cloned()
|
||||
}
|
||||
_ => None,
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue