mirror of
https://github.com/vulkano-rs/vulkano.git
synced 2024-10-30 05:52:44 +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,
|
||||
#[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)]
|
||||
|
Loading…
Reference in New Issue
Block a user