mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 08:11:12 +00:00
all the clippy fixes
This commit is contained in:
parent
94a33c91dc
commit
754521c4c3
14 changed files with 93 additions and 120 deletions
|
@ -1831,11 +1831,11 @@ fn update<'a>(
|
|||
}
|
||||
}
|
||||
|
||||
fn finish_specialization<'a>(
|
||||
state: State<'a>,
|
||||
fn finish_specialization(
|
||||
state: State,
|
||||
subs: Subs,
|
||||
exposed_to_host: MutMap<Symbol, Variable>,
|
||||
) -> MonomorphizedModule<'a> {
|
||||
) -> MonomorphizedModule {
|
||||
let module_ids = Arc::try_unwrap(state.arc_modules)
|
||||
.unwrap_or_else(|_| panic!("There were still outstanding Arc references to module_ids"))
|
||||
.into_inner()
|
||||
|
@ -1904,8 +1904,8 @@ fn finish_specialization<'a>(
|
|||
}
|
||||
}
|
||||
|
||||
fn finish<'a>(
|
||||
state: State<'a>,
|
||||
fn finish(
|
||||
state: State,
|
||||
solved: Solved<Subs>,
|
||||
exposed_vars_by_symbol: MutMap<Symbol, Variable>,
|
||||
documentation: MutMap<ModuleId, ModuleDocumentation>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue