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

Write out explicit types in Into::into conversions #477

Merged
merged 1 commit into from
Nov 20, 2024
Merged

Conversation

dtolnay
Copy link
Owner

@dtolnay dtolnay commented Nov 20, 2024

Some of the type conversions in proc-macro2 are wasting time on too much unneeded checking where the input should be known to be valid, and at least one case of not enough checking. This commit is a first step toward understanding what conversions are taking place where, and giving names to different possible behaviors for some of these conversions.

Verified

This commit was signed with the committer’s verified signature.
dtolnay David Tolnay
@dtolnay dtolnay merged commit 13092b8 into master Nov 20, 2024
26 checks passed
@dtolnay dtolnay deleted the intofrom branch November 20, 2024 23:54
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.

None yet

1 participant