mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 14:24:45 +00:00
fix clippy issues
This commit is contained in:
parent
ded8499f3a
commit
1a36733c04
1 changed files with 1 additions and 7 deletions
|
@ -4191,13 +4191,7 @@ fn reuse_function_symbol<'a>(
|
|||
original: Symbol,
|
||||
) -> Stmt<'a> {
|
||||
match procs.partial_procs.get(&original) {
|
||||
None => {
|
||||
if original.module_id() != env.home && original.module_id() != ModuleId::ATTR {
|
||||
result
|
||||
} else {
|
||||
result
|
||||
}
|
||||
}
|
||||
None => result,
|
||||
Some(partial_proc) => {
|
||||
let arg_var = arg_var.unwrap_or(partial_proc.annotation);
|
||||
// this symbol is a function, that is used by-name (e.g. as an argument to another
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue