mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-22 07:21:04 +01:00
Fix unused warning in a specific feature config (#8271)
This commit is contained in:
1 parent
bc43a23e04
commit
a01ffb7967
1 file changed
+2
-3
@@ -119,9 +119,8 @@ pub struct BindTarget {
|
||||
pub mutable: bool,
|
||||
}
|
||||
|
||||
#[cfg(any(feature = "serialize", feature = "deserialize"))]
|
||||
#[cfg_attr(feature = "serialize", derive(serde::Serialize))]
|
||||
#[cfg_attr(feature = "deserialize", derive(serde::Deserialize))]
|
||||
#[cfg(feature = "deserialize")]
|
||||
#[derive(serde::Deserialize)]
|
||||
struct BindingMapSerialization {
|
||||
resource_binding: crate::ResourceBinding,
|
||||
bind_target: BindTarget,
|
||||
|
||||
Reference in new issue
Block a user