Skip to content

Commit

Permalink
!fixup clippy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dmkozh committed Aug 23, 2023
1 parent 24e8dff commit ed73037
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion soroban-env-host/src/storage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ impl Storage {
self.prepare_read_only_access(key, budget)?;
match self.map.get::<Rc<LedgerKey>>(key, budget)? {
None | Some(None) => Err((ScErrorType::Storage, ScErrorCode::MissingValue).into()),
Some(Some((val, expiration))) => Ok((Rc::clone(val), expiration.clone())),
Some(Some((val, expiration))) => Ok((Rc::clone(val), *expiration)),
}
}

Expand Down

0 comments on commit ed73037

Please sign in to comment.