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

Prefer explicit casts #2582

Merged
merged 1 commit into from
Jul 21, 2023
Merged

Prefer explicit casts #2582

merged 1 commit into from
Jul 21, 2023

Conversation

kennykerr
Copy link
Collaborator

Inferred casts are needed in some cases for genericity but in general explicit casts improve clarity and avoid masking unnecessary casts since Clippy will flag them.

@kennykerr kennykerr merged commit f31b44e into master Jul 21, 2023
@kennykerr kennykerr deleted the explicit branch July 21, 2023 15:19
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.

1 participant