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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: unify use Option ref #1477

Merged
merged 2 commits into from
Oct 14, 2024
Merged

chore: unify use Option ref #1477

merged 2 commits into from
Oct 14, 2024

Conversation

nkysg
Copy link
Contributor

@nkysg nkysg commented Oct 14, 2024

Motivation

I see most places use Option<&T>, I think maybe Option<&T> is better than &Option. If it's not, please close it.

Solution

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

Copy link
Member

@mattsse mattsse left a comment

Choose a reason for hiding this comment

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

reasonable

@mattsse mattsse merged commit a5e06ec into alloy-rs:main Oct 14, 2024
26 checks passed
@nkysg nkysg deleted the use_option_ref branch October 15, 2024 13:18
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