mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-03 11:52:19 +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(),
|
||||
&lowlevel_args,
|
||||
&lowlevel_arg_layouts,
|
||||
&ret_layout,
|
||||
ret_layout,
|
||||
);
|
||||
self.free_symbol(&Symbol::DEV_TMP);
|
||||
self.free_symbol(&Symbol::DEV_TMP2);
|
||||
|
@ -1423,7 +1423,7 @@ impl<
|
|||
&mut self.buf,
|
||||
base_offset,
|
||||
&Symbol::DEV_TMP4,
|
||||
&ret_layout,
|
||||
ret_layout,
|
||||
);
|
||||
|
||||
self.free_symbol(&Symbol::DEV_TMP4);
|
||||
|
@ -1486,7 +1486,7 @@ impl<
|
|||
bitcode::LIST_APPEND_UNSAFE.to_string(),
|
||||
&lowlevel_args,
|
||||
&lowlevel_arg_layouts,
|
||||
&ret_layout,
|
||||
ret_layout,
|
||||
);
|
||||
self.free_symbol(&Symbol::DEV_TMP);
|
||||
self.free_symbol(&Symbol::DEV_TMP2);
|
||||
|
@ -1497,7 +1497,7 @@ impl<
|
|||
&mut self.buf,
|
||||
base_offset,
|
||||
&Symbol::DEV_TMP3,
|
||||
&ret_layout,
|
||||
ret_layout,
|
||||
);
|
||||
|
||||
self.free_symbol(&Symbol::DEV_TMP3);
|
||||
|
|
|
@ -3431,12 +3431,12 @@ fn reserve_unchanged() {
|
|||
// both lists are empty.
|
||||
(0, RocList::empty(), 15, RocList::empty()),
|
||||
(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,
|
||||
value_b.capacity(),
|
||||
value_b
|
||||
))
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue