mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-20 14:31:08 +01: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:
1 parent
7138876625
commit
d4bedafbda
1 file changed
+1
-1
+1
-1
@@ -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