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

Don't use std::opsIndex, used only when "validate" is on. #2383

Merged
merged 1 commit into from
Jun 15, 2023

Conversation

jimblandy
Copy link
Member

In src/valid/expresion.rs, use the full path std::ops::Index when implementing the trait on ExpressionTypeResolver. This implementation is #[cfg(feature = "validate")], so the use directive becomes unnecessary when that feature is not enabled, triggering warnings.

In `src/valid/expresion.rs`, use the full path `std::ops::Index` when
implementing the trait on `ExpressionTypeResolver`. This
implementation is `#[cfg(feature = "validate")]`, so the `use`
directive becomes unnecessary when that feature is not enabled,
triggering warnings.
@teoxoy teoxoy merged commit b7da005 into gfx-rs:master Jun 15, 2023
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