clippy fixups

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2021-01-15 14:20:55 +01:00
parent d44c032dd5
commit 2f7b0872ea

View File

@ -532,7 +532,7 @@ impl ObjectSchemaType for ObjectSchema {
}
fn properties(&self) -> Self::PropertyIter {
self.properties.into_iter()
self.properties.iter()
}
fn additional_properties(&self) -> bool {
@ -553,7 +553,7 @@ impl ObjectSchemaType for AllOfSchema {
fn properties(&self) -> Self::PropertyIter {
AllOfProperties {
schemas: self.list.into_iter(),
schemas: self.list.iter(),
properties: None,
}
}