2
0
Fork 0
mirror of https://git.asonix.dog/asonix/pict-rs synced 2024-11-20 11:21:14 +00:00
This commit is contained in:
asonix 2024-02-17 11:26:12 -06:00
parent 0972154ab5
commit 29e5434bc2

View file

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