mirror of
https://git.proxmox.com/git/proxmox
synced 2025-08-10 18:14:11 +00:00
formatting fixup
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
b81beb4dfb
commit
7c48247c58
@ -8,7 +8,7 @@ use syn::parse::{Parse, ParseStream, Parser};
|
||||
use syn::spanned::Spanned;
|
||||
use syn::{ExprPath, Ident};
|
||||
|
||||
use crate::util::{JSONObject, JSONValue, FieldName};
|
||||
use crate::util::{FieldName, JSONObject, JSONValue};
|
||||
|
||||
mod enums;
|
||||
mod method;
|
||||
@ -133,10 +133,7 @@ impl Schema {
|
||||
}
|
||||
}
|
||||
|
||||
fn find_obj_property_by_ident(
|
||||
&self,
|
||||
key: &str,
|
||||
) -> Option<&(FieldName, bool, PropertySchema)> {
|
||||
fn find_obj_property_by_ident(&self, key: &str) -> Option<&(FieldName, bool, PropertySchema)> {
|
||||
self.as_object()
|
||||
.and_then(|obj| obj.find_property_by_ident(key))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user