Skip to content
This repository was archived by the owner on Apr 18, 2025. It is now read-only.

Commit d566e26

Browse files
committed
use unwrap_or_default
1 parent 30f821e commit d566e26

File tree

1 file changed

+1
-1
lines changed
  • zkevm-circuits/src/witness

1 file changed

+1
-1
lines changed

zkevm-circuits/src/witness/rw.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ impl<F: Field> RwRow<Value<F>> {
378378
_ = f.map(|v| {
379379
inner = Some(v);
380380
});
381-
inner.unwrap()
381+
inner.unwrap_or_default()
382382
};
383383
let unwrap_w = |f: word::Word<Value<F>>| {
384384
let (lo, hi) = f.into_lo_hi();

0 commit comments

Comments
 (0)