update rustfmt (let/else)
This commit is contained in:
parent
59d8894195
commit
90fae279f9
|
@ -355,8 +355,7 @@ impl Generator {
|
||||||
Volitionality::Optional
|
Volitionality::Optional
|
||||||
};
|
};
|
||||||
|
|
||||||
let OperationParameterType::Type(arg_type_id) = ¶m.typ
|
let OperationParameterType::Type(arg_type_id) = ¶m.typ else {
|
||||||
else {
|
|
||||||
unreachable!("query and path parameters must be typed")
|
unreachable!("query and path parameters must be typed")
|
||||||
};
|
};
|
||||||
let arg_type = self.type_space.get_type(arg_type_id).unwrap();
|
let arg_type = self.type_space.get_type(arg_type_id).unwrap();
|
||||||
|
|
Loading…
Reference in New Issue