mirror of
https://git.proxmox.com/git/proxmox
synced 2025-05-30 23:35:38 +00:00
clippy fixups
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
d44c032dd5
commit
2f7b0872ea
@ -532,7 +532,7 @@ impl ObjectSchemaType for ObjectSchema {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn properties(&self) -> Self::PropertyIter {
|
fn properties(&self) -> Self::PropertyIter {
|
||||||
self.properties.into_iter()
|
self.properties.iter()
|
||||||
}
|
}
|
||||||
|
|
||||||
fn additional_properties(&self) -> bool {
|
fn additional_properties(&self) -> bool {
|
||||||
@ -553,7 +553,7 @@ impl ObjectSchemaType for AllOfSchema {
|
|||||||
|
|
||||||
fn properties(&self) -> Self::PropertyIter {
|
fn properties(&self) -> Self::PropertyIter {
|
||||||
AllOfProperties {
|
AllOfProperties {
|
||||||
schemas: self.list.into_iter(),
|
schemas: self.list.iter(),
|
||||||
properties: None,
|
properties: None,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user