Skip to content

Commit 0a9ed8a

Browse files
committed
clippy
1 parent d6e93db commit 0a9ed8a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

turbopack/crates/turbo-tasks-backend/src/kv_backing_storage.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,10 +107,10 @@ impl<T: KeyValueDatabase> KeyValueDatabaseBackingStorage<T> {
107107

108108
fn get_infra_u32(database: &impl KeyValueDatabase, key: u32) -> Result<Option<u32>> {
109109
let tx = database.begin_read_transaction()?;
110-
Ok(database
110+
database
111111
.get(&tx, KeySpace::Infra, IntKey::new(key).as_ref())?
112112
.map(as_u32)
113-
.transpose()?)
113+
.transpose()
114114
}
115115

116116
impl<T: KeyValueDatabase + Send + Sync + 'static> BackingStorage

0 commit comments

Comments
 (0)