cleanup clippy leftovers
this used to contain a pointer cast, now it doesn't Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
5d1d0f5d6c
commit
97030c9407
@ -219,7 +219,6 @@ impl IndexFile for DynamicIndexReader {
|
|||||||
(csum, chunk_end)
|
(csum, chunk_end)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[allow(clippy::cast_ptr_alignment)]
|
|
||||||
fn chunk_info(&self, pos: usize) -> Option<ChunkReadInfo> {
|
fn chunk_info(&self, pos: usize) -> Option<ChunkReadInfo> {
|
||||||
if pos >= self.index.len() {
|
if pos >= self.index.len() {
|
||||||
return None;
|
return None;
|
||||||
|
Loading…
Reference in New Issue
Block a user