chore: make clippy happy (#13772)

This commit is contained in:
Federico Gimenez
2025-01-11 12:15:06 +01:00
committed by GitHub
parent ca30702f85
commit 5a23708eb0
19 changed files with 26 additions and 37 deletions

View File

@ -986,7 +986,7 @@ mod tests {
let db = tx.open_db(None).unwrap();
for i in 1_000usize..1_000_000 {
match tx.put(db.dbi(), i.to_le_bytes(), b"0", WriteFlags::empty()) {
Ok(_) => continue,
Ok(_) => {}
Err(Error::MapFull) => break,
result @ Err(_) => result.unwrap(),
}