Skip to content

fix(context): avoid double reference in Context::all()#3131

Merged
rakita merged 1 commit intobluealloy:mainfrom
gap-editor:patch-4
Oct 30, 2025
Merged

fix(context): avoid double reference in Context::all()#3131
rakita merged 1 commit intobluealloy:mainfrom
gap-editor:patch-4

Conversation

@gap-editor
Copy link
Copy Markdown
Contributor

Context::all() was taking &self.journaled_state.db(), producing &&DB instead of &DB.
This removes the redundant borrow and returns a proper database reference.
No behavior changes — just borrow simplification and cleaner API usage.

@codspeed-hq
Copy link
Copy Markdown

codspeed-hq bot commented Oct 28, 2025

CodSpeed Performance Report

Merging #3131 will not alter performance

Comparing gap-editor:patch-4 (b47c6fb) with main (83bbccd)

Summary

✅ 173 untouched

@rakita rakita merged commit 54c9224 into bluealloy:main Oct 30, 2025
31 checks passed
@github-actions github-actions bot mentioned this pull request Oct 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants