Fix clippy lints

This commit is contained in:
Ahmad Sattar 2023-01-26 18:37:32 +01:00
parent e71ea37d30
commit 918d9d2308
No known key found for this signature in database
GPG key ID: 6EAC5AB400A49604
2 changed files with 6 additions and 6 deletions

View file

@ -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);

View file

@ -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
))
)
);
}