Skip to content

Conversation

MozirDmitriy
Copy link
Contributor

Replace RefCell::borrow_mut() with borrow() in Debug impl.
Benefits:

  • Avoids unnecessary exclusive borrow during formatting.
  • Eliminates potential runtime panic if a shared borrow is active.
  • Matches Debug’s non-mutating intent and improves robustness with Rc<RefCell<...>>.

DaniPopes added a commit that referenced this pull request Oct 3, 2025
This PR aggregates changes from the following PRs:

- Closes #11957 by @\MozirDmitriy
- Closes #11954 by @\anim001k
- Closes #11953 by @\strmfos
- Closes #11939 by @\silvekkk
@DaniPopes DaniPopes mentioned this pull request Oct 3, 2025
DaniPopes added a commit that referenced this pull request Oct 3, 2025
This PR aggregates changes from the following PRs:

- Closes #11957 by @\MozirDmitriy
- Closes #11954 by @\anim001k
- Closes #11953 by @\strmfos
- Closes #11939 by @\silvekkk
DaniPopes added a commit that referenced this pull request Oct 3, 2025
This PR aggregates changes from the following PRs:

- Closes #11957 by @\MozirDmitriy
- Closes #11954 by @\anim001k
- Closes #11953 by @\strmfos
@DaniPopes DaniPopes mentioned this pull request Oct 3, 2025
@github-project-automation github-project-automation bot moved this to Done in Foundry Oct 3, 2025
pull bot pushed a commit to Getitboy9/foundry that referenced this pull request Oct 3, 2025
This PR aggregates changes from the following PRs:

- Closes foundry-rs#11957 by @\MozirDmitriy
- Closes foundry-rs#11954 by @\anim001k
- Closes foundry-rs#11953 by @\strmfos
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.

1 participant