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

Audit self by-copy vs by-ref on Borrowed types #5977

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Manishearth
Copy link
Member

Fixes #5921

We should also land #5975

@Manishearth Manishearth requested a review from sffc January 10, 2025 21:53
@Manishearth Manishearth changed the title Audit all impls on Borrowed types Audit self by-copy vs by-ref on Borrowed types Jan 10, 2025
sffc
sffc previously approved these changes Jan 10, 2025
@sffc
Copy link
Member

sffc commented Jan 10, 2025

Did you check whether we should switch back to &self on any borrowed types that are too big?

@Manishearth
Copy link
Member Author

Did you check whether we should switch back to &self on any borrowed types that are too big?

I went through all of the Borrowed impls, yes.

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.

Borrowed types are Copy so their methods should take self
2 participants