mirror of
https://github.com/roc-lang/roc.git
synced 2025-07-24 06:55:15 +00:00
clippy
This commit is contained in:
parent
d262911a04
commit
783eb9380f
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ impl<'a> Src64<'a> {
|
|||
return Err(FileErr::FileWasEmpty);
|
||||
}
|
||||
|
||||
let capacity = round_up_to_nearest_64(file_size as usize);
|
||||
let capacity = round_up_to_nearest_64(file_size);
|
||||
|
||||
// Safety: round_up_to_nearest_u64 will give us a capacity that is
|
||||
// at least 64, and also a multiple of 64.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue