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

Use pass-by-value for SocketAddr #367

Merged
merged 1 commit into from
Dec 12, 2024
Merged

Conversation

msk
Copy link
Contributor

@msk msk commented Dec 6, 2024

Since SocketAddr is Copy and small enough, it's better to pass it by value.

Since `SocketAddr` is `Copy` and small enough, it's better to pass it
by value.
Copy link

codecov bot commented Dec 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 70.23%. Comparing base (238fb77) to head (5ced70a).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #367      +/-   ##
==========================================
- Coverage   70.26%   70.23%   -0.03%     
==========================================
  Files          67       67              
  Lines       14400    14388      -12     
==========================================
- Hits        10118    10106      -12     
  Misses       4282     4282              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@sehkone
Copy link
Contributor

sehkone commented Dec 12, 2024

Since this code was created by @henry0715-dev, I would like to share this with him.

@sehkone sehkone merged commit 2dfc46d into aicers:main Dec 12, 2024
6 checks passed
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.

3 participants