Skip to content

Commit

Permalink
[ts-registry] Lint fix
Browse files Browse the repository at this point in the history
- needless borrow
  • Loading branch information
Enet4 committed Oct 15, 2023
1 parent ed7efef commit 958d32b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion transfer-syntax-registry/src/adapters/uncompressed.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ impl PixelDataReader for UncompressedAdapter {
.get(frame as usize)
.context(decode_error::FrameRangeOutOfBoundsSnafu)?;

dst.extend_from_slice(&fragment);
dst.extend_from_slice(fragment);

Ok(())
}
Expand Down

0 comments on commit 958d32b

Please sign in to comment.