mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 16:21:11 +00:00
Fix clippy lints
This commit is contained in:
parent
e71ea37d30
commit
918d9d2308
2 changed files with 6 additions and 6 deletions
|
@ -1411,7 +1411,7 @@ impl<
|
||||||
bitcode::LIST_RESERVE.to_string(),
|
bitcode::LIST_RESERVE.to_string(),
|
||||||
&lowlevel_args,
|
&lowlevel_args,
|
||||||
&lowlevel_arg_layouts,
|
&lowlevel_arg_layouts,
|
||||||
&ret_layout,
|
ret_layout,
|
||||||
);
|
);
|
||||||
self.free_symbol(&Symbol::DEV_TMP);
|
self.free_symbol(&Symbol::DEV_TMP);
|
||||||
self.free_symbol(&Symbol::DEV_TMP2);
|
self.free_symbol(&Symbol::DEV_TMP2);
|
||||||
|
@ -1423,7 +1423,7 @@ impl<
|
||||||
&mut self.buf,
|
&mut self.buf,
|
||||||
base_offset,
|
base_offset,
|
||||||
&Symbol::DEV_TMP4,
|
&Symbol::DEV_TMP4,
|
||||||
&ret_layout,
|
ret_layout,
|
||||||
);
|
);
|
||||||
|
|
||||||
self.free_symbol(&Symbol::DEV_TMP4);
|
self.free_symbol(&Symbol::DEV_TMP4);
|
||||||
|
@ -1486,7 +1486,7 @@ impl<
|
||||||
bitcode::LIST_APPEND_UNSAFE.to_string(),
|
bitcode::LIST_APPEND_UNSAFE.to_string(),
|
||||||
&lowlevel_args,
|
&lowlevel_args,
|
||||||
&lowlevel_arg_layouts,
|
&lowlevel_arg_layouts,
|
||||||
&ret_layout,
|
ret_layout,
|
||||||
);
|
);
|
||||||
self.free_symbol(&Symbol::DEV_TMP);
|
self.free_symbol(&Symbol::DEV_TMP);
|
||||||
self.free_symbol(&Symbol::DEV_TMP2);
|
self.free_symbol(&Symbol::DEV_TMP2);
|
||||||
|
@ -1497,7 +1497,7 @@ impl<
|
||||||
&mut self.buf,
|
&mut self.buf,
|
||||||
base_offset,
|
base_offset,
|
||||||
&Symbol::DEV_TMP3,
|
&Symbol::DEV_TMP3,
|
||||||
&ret_layout,
|
ret_layout,
|
||||||
);
|
);
|
||||||
|
|
||||||
self.free_symbol(&Symbol::DEV_TMP3);
|
self.free_symbol(&Symbol::DEV_TMP3);
|
||||||
|
|
|
@ -3431,12 +3431,12 @@ fn reserve_unchanged() {
|
||||||
// both lists are empty.
|
// both lists are empty.
|
||||||
(0, RocList::empty(), 15, RocList::empty()),
|
(0, RocList::empty(), 15, RocList::empty()),
|
||||||
(RocList<u64>, RocList<u64>),
|
(RocList<u64>, RocList<u64>),
|
||||||
|(value_a, value_b): (RocList<u64>, RocList<u64>)| ((
|
|(value_a, value_b): (RocList<u64>, RocList<u64>)| (
|
||||||
value_a.capacity(),
|
value_a.capacity(),
|
||||||
value_a,
|
value_a,
|
||||||
value_b.capacity(),
|
value_b.capacity(),
|
||||||
value_b
|
value_b
|
||||||
))
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue