small clippy fix

This commit is contained in:
Robin Müller 2023-05-14 16:03:41 +02:00
parent c265e4c271
commit 9b63ea3585
Signed by: muellerr
GPG Key ID: A649FB78196E3849

View File

@ -263,7 +263,7 @@ pub trait PoolProvider {
if !self.has_element_at(addr)? { if !self.has_element_at(addr)? {
return Err(StoreError::DataDoesNotExist(*addr)); return Err(StoreError::DataDoesNotExist(*addr));
} }
return Ok(self.read(addr)?.len()); Ok(self.read(addr)?.len())
} }
} }