chore: cargo clippy

This commit is contained in:
Zack Fu Zi Xiang 2024-06-20 18:12:49 +08:00
parent 2696613ded
commit 94af813b04
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -341,7 +341,7 @@ where
if self_mut.idx >= self_mut.items.len() {
if !self_mut.done {
self_mut.done = true;
return Poll::Ready(Some(Ok((0 as u32).to_le_bytes().to_vec().into())));
return Poll::Ready(Some(Ok((0_u32).to_le_bytes().to_vec().into())));
}
return Poll::Ready(None);
}

View File

@ -182,7 +182,7 @@ async fn test_publish_load_test() {
title: format!("title{}", i),
},
},
data: vec![0; 1000_00], // 100 KB
data: vec![0; 100_000], // 100 KB
})
.collect();