mirror of
https://github.com/vulkano-rs/vulkano.git
synced 2024-11-22 06:45:23 +00:00
Fix latest clippy warnings
This commit is contained in:
parent
b9f3e89300
commit
582a2466f3
@ -31,10 +31,10 @@ pub struct SpirvInstruction {
|
|||||||
pub opcode: u16,
|
pub opcode: u16,
|
||||||
#[serde(default)]
|
#[serde(default)]
|
||||||
pub operands: Vec<SpirvOperand>,
|
pub operands: Vec<SpirvOperand>,
|
||||||
#[serde(default)]
|
// #[serde(default)]
|
||||||
pub capabilities: Vec<String>,
|
// pub capabilities: Vec<String>,
|
||||||
#[serde(default)]
|
// #[serde(default)]
|
||||||
pub extensions: Vec<String>,
|
// pub extensions: Vec<String>,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Clone, Debug, Deserialize)]
|
#[derive(Clone, Debug, Deserialize)]
|
||||||
@ -58,8 +58,8 @@ pub struct SpirvKindEnumerant {
|
|||||||
pub value: Value,
|
pub value: Value,
|
||||||
#[serde(default)]
|
#[serde(default)]
|
||||||
pub parameters: Vec<SpirvParameter>,
|
pub parameters: Vec<SpirvParameter>,
|
||||||
#[serde(default)]
|
// #[serde(default)]
|
||||||
pub capabilities: Vec<String>,
|
// pub capabilities: Vec<String>,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Clone, Debug, Deserialize)]
|
#[derive(Clone, Debug, Deserialize)]
|
||||||
|
Loading…
Reference in New Issue
Block a user