Fix latest clippy warnings

This commit is contained in:
marc0246 2024-06-20 20:27:18 +02:00
parent b9f3e89300
commit 582a2466f3
No known key found for this signature in database
GPG Key ID: 689CB88C1090C684

View File

@ -31,10 +31,10 @@ pub struct SpirvInstruction {
pub opcode: u16,
#[serde(default)]
pub operands: Vec<SpirvOperand>,
#[serde(default)]
pub capabilities: Vec<String>,
#[serde(default)]
pub extensions: Vec<String>,
// #[serde(default)]
// pub capabilities: Vec<String>,
// #[serde(default)]
// pub extensions: Vec<String>,
}
#[derive(Clone, Debug, Deserialize)]
@ -58,8 +58,8 @@ pub struct SpirvKindEnumerant {
pub value: Value,
#[serde(default)]
pub parameters: Vec<SpirvParameter>,
#[serde(default)]
pub capabilities: Vec<String>,
// #[serde(default)]
// pub capabilities: Vec<String>,
}
#[derive(Clone, Debug, Deserialize)]