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

Remove unnecessary trait bounds #24

Merged

Conversation

TheQuantumPhysicist
Copy link
Contributor

Some trait bounds are put on Canvas and CCanvas unnecessarily. This causes code including canvas in it to be infected with trait bounds unnecessarily, and makes it harder to contain Canvas in other structs with generics.

In this PR, I removed all unnecessary trait bounds. This should have zero effect on functionality, as long as it compiles.

src/consts.rs Show resolved Hide resolved
src/consts.rs Show resolved Hide resolved
@elpiel elpiel merged commit c418dd5 into LechevSpace:main Nov 15, 2024
2 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.

2 participants