mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 14:24:45 +00:00
fix clippy
This commit is contained in:
parent
b0c1d88320
commit
e7a90f1ab5
2 changed files with 4 additions and 2 deletions
|
@ -74,7 +74,7 @@ impl Out {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Normalise the output for comparison in tests by replacing with a placeholder
|
/// Normalise the output for comparison in tests by replacing with a placeholder
|
||||||
fn normalize_for_tests(input: &String) -> String {
|
fn normalize_for_tests(input: &str) -> String {
|
||||||
// normalise from windows line endings to unix line endings
|
// normalise from windows line endings to unix line endings
|
||||||
let without_clrf = input.replace("\r\n", "\n");
|
let without_clrf = input.replace("\r\n", "\n");
|
||||||
|
|
||||||
|
|
|
@ -429,7 +429,8 @@ fn gen_from_mono_module_dev<'a>(
|
||||||
target: Target,
|
target: Target,
|
||||||
preprocessed_host_path: &PrebuiltHost,
|
preprocessed_host_path: &PrebuiltHost,
|
||||||
wasm_dev_stack_bytes: Option<u32>,
|
wasm_dev_stack_bytes: Option<u32>,
|
||||||
backend_mode: AssemblyBackendMode,
|
|
||||||
|
#[allow(unused_variables)] backend_mode: AssemblyBackendMode,
|
||||||
) -> GenFromMono<'a> {
|
) -> GenFromMono<'a> {
|
||||||
match (preprocessed_host_path, target.architecture()) {
|
match (preprocessed_host_path, target.architecture()) {
|
||||||
(PrebuiltHost::Additive(host_path), Architecture::Wasm32) => {
|
(PrebuiltHost::Additive(host_path), Architecture::Wasm32) => {
|
||||||
|
@ -553,6 +554,7 @@ fn gen_from_mono_module_dev_wasm32<'a>(
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[allow(dead_code)]
|
||||||
fn gen_from_mono_module_dev_assembly<'a>(
|
fn gen_from_mono_module_dev_assembly<'a>(
|
||||||
arena: &'a bumpalo::Bump,
|
arena: &'a bumpalo::Bump,
|
||||||
loaded: MonomorphizedModule<'a>,
|
loaded: MonomorphizedModule<'a>,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue