Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

add some new methods to extensions #4

Merged
merged 2 commits into from
Aug 30, 2022
Merged

add some new methods to extensions #4

merged 2 commits into from
Aug 30, 2022

Conversation

conradludgate
Copy link
Contributor

Cleans up the code a little

  • HashMap::new() is a cleap already so wrapping it in an Option is unnecessary.
  • with_extensions doesn't need an extra RefCell, although that didn't cost too much anyway 馃し

Adds 2 new methods to Extensions:

@conradludgate conradludgate requested a review from a team as a code owner August 30, 2022 15:34
@conradludgate conradludgate merged commit 8e1c6df into main Aug 30, 2022
@conradludgate conradludgate deleted the some-changes branch August 30, 2022 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants