Skip to content
This repository was archived by the owner on Jan 29, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants