mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-01 07:41:12 +00:00
clippy
This commit is contained in:
parent
a87bf0a302
commit
df206edd88
1 changed files with 4 additions and 4 deletions
|
@ -2465,7 +2465,7 @@ fn parse_header<'a>(
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Ok((_, ast::Module::Platform { header }, _parse_state)) => fabricate_effects_module(
|
Ok((_, ast::Module::Platform { header }, _parse_state)) => Ok(fabricate_effects_module(
|
||||||
arena,
|
arena,
|
||||||
&"",
|
&"",
|
||||||
module_ids,
|
module_ids,
|
||||||
|
@ -2473,7 +2473,7 @@ fn parse_header<'a>(
|
||||||
mode,
|
mode,
|
||||||
header,
|
header,
|
||||||
module_timing,
|
module_timing,
|
||||||
),
|
)),
|
||||||
Err((_, fail, _)) => Err(LoadingProblem::ParsingFailed(
|
Err((_, fail, _)) => Err(LoadingProblem::ParsingFailed(
|
||||||
fail.into_parse_problem(filename, src_bytes),
|
fail.into_parse_problem(filename, src_bytes),
|
||||||
)),
|
)),
|
||||||
|
@ -3350,7 +3350,7 @@ fn fabricate_effects_module<'a>(
|
||||||
module_timing,
|
module_timing,
|
||||||
};
|
};
|
||||||
|
|
||||||
Ok((
|
(
|
||||||
module_id,
|
module_id,
|
||||||
Msg::MadeEffectModule {
|
Msg::MadeEffectModule {
|
||||||
type_shortname: effects.effect_shortname,
|
type_shortname: effects.effect_shortname,
|
||||||
|
@ -3358,7 +3358,7 @@ fn fabricate_effects_module<'a>(
|
||||||
canonicalization_problems: module_output.problems,
|
canonicalization_problems: module_output.problems,
|
||||||
module_docs,
|
module_docs,
|
||||||
},
|
},
|
||||||
))
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
fn unpack_exposes_entries<'a>(
|
fn unpack_exposes_entries<'a>(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue