mirror of
https://github.com/YGGverse/ggemini.git
synced 2026-04-01 01:25:32 +00:00
apply clippy optimizations
This commit is contained in:
parent
c79f386bf1
commit
bb5b1dfb53
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ pub fn from_stream_async(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if bytes.len() == 0 {
|
if bytes.is_empty() {
|
||||||
return on_complete(Ok((file_output_stream, size.total)));
|
return on_complete(Ok((file_output_stream, size.total)));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue