Skip to content

Commit ecd69f2

Browse files
committed
clippy
1 parent 7f6da30 commit ecd69f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/revive-strategy/src/executor/runner.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,6 @@ impl ExecutorStrategyExt for ReviveExecutorStrategyRunner {
164164
let ctx = get_context_ref(ctx);
165165
let mut state = ctx.externalties.0.lock().unwrap();
166166
state.depth = 0;
167-
while let Ok(_) = state.externalities.ext().storage_rollback_transaction() {}
167+
while state.externalities.ext().storage_rollback_transaction().is_ok() {}
168168
}
169169
}

0 commit comments

Comments
 (0)