apply clippy optimizations

This commit is contained in:
yggverse 2025-07-22 08:44:50 +03:00
parent c79f386bf1
commit bb5b1dfb53

View file

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