mirror of
https://git.asonix.dog/asonix/pict-rs
synced 2024-11-20 11:21:14 +00:00
Clippy
This commit is contained in:
parent
0972154ab5
commit
29e5434bc2
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ pub(crate) async fn chop_store<S: Store>(
|
|||
pub(crate) fn single_bytes_range(range: &Range) -> Option<&ByteRangeSpec> {
|
||||
if let Range::Bytes(ranges) = range {
|
||||
if ranges.len() == 1 {
|
||||
return ranges.get(0);
|
||||
return ranges.first();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue