mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-05 09:30:20 +00:00
redundant closure call
This commit is contained in:
parent
6d55acc5cf
commit
49c2b1dbb7
2 changed files with 8 additions and 3 deletions
|
@ -90,6 +90,7 @@ macro_rules! section_impl {
|
|||
let mut bytes = Vec::<u8>::with_capacity_in(range.len() * 2, arena);
|
||||
*cursor = range.end;
|
||||
bytes.extend_from_slice(&module_bytes[range]);
|
||||
#[allow(clippy::redundant_closure_call)]
|
||||
Ok($from_count_and_bytes(count, bytes))
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue