mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
Move #[must_use] attr on Capabilities to where it'll take effect.
This was causing warnings in nightly (1.56.0).
This commit is contained in:
committed by
Dzmitry Malyshau
parent
7138876625
commit
d4bedafbda
@@ -47,9 +47,9 @@ impl Default for ValidationFlags {
|
||||
}
|
||||
}
|
||||
|
||||
#[must_use]
|
||||
bitflags::bitflags! {
|
||||
/// Allowed IR capabilities.
|
||||
#[must_use]
|
||||
#[derive(Default)]
|
||||
#[cfg_attr(feature = "serialize", derive(serde::Serialize))]
|
||||
#[cfg_attr(feature = "deserialize", derive(serde::Deserialize))]
|
||||
|
||||
Reference in New Issue
Block a user