More make clippy happy

This commit is contained in:
Alex Auvolat 2022-07-22 18:40:06 +02:00
parent 0176da3ad2
commit 2cad656a03
No known key found for this signature in database
GPG Key ID: 0E496D15096376BE

View File

@ -286,8 +286,6 @@ async fn read_and_put_blocks<S: Stream<Item = Result<Bytes, Error>> + Unpin>(
) -> Result<(u64, GenericArray<u8, typenum::U16>, Hash), Error> {
let tracer = opentelemetry::global::tracer("garage");
let first_block = Bytes::from(first_block);
let md5hasher = AsyncHasher::<Md5>::new();
let sha256hasher = AsyncHasher::<Sha256>::new();