Skip to content

Conversation

@Sharilleed223
Copy link
Contributor

Simplify Option unwrapping patterns in gas snapshot handling:

  • Replace is_some() + unwrap() with if let Some pattern.
  • Remove redundant intermediate variable binding.

Copy link
Collaborator

@grandizzy grandizzy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should work, please fix CI fmt

@Sharilleed223 Sharilleed223 force-pushed the refactor/gas-snapshot-simplify-clean branch 2 times, most recently from a406abd to 9d24699 Compare November 19, 2025 08:58
@grandizzy grandizzy self-requested a review November 19, 2025 09:08
@Sharilleed223
Copy link
Contributor Author

Hi @grandizzy, did it, pls check, thanks!

Copy link
Collaborator

@grandizzy grandizzy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks, one more nit

@Sharilleed223 Sharilleed223 force-pushed the refactor/gas-snapshot-simplify-clean branch from 9d24699 to 7ca62c2 Compare November 19, 2025 09:28
@grandizzy grandizzy self-requested a review November 19, 2025 09:30
@grandizzy grandizzy enabled auto-merge November 19, 2025 09:30
Copy link
Collaborator

@grandizzy grandizzy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you

@grandizzy grandizzy added this pull request to the merge queue Nov 19, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Nov 19, 2025
@grandizzy grandizzy added this pull request to the merge queue Nov 19, 2025
Merged via the queue into foundry-rs:master with commit 72046f8 Nov 19, 2025
15 checks passed
@github-project-automation github-project-automation bot moved this to Done in Foundry Nov 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants