forked from Proxmox/proxmox
formatting fixup
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
8e24ada75a
commit
bb2639bf40
@ -98,7 +98,10 @@ pub fn handle_enum(mut definition: Object, item: &mut syn::ItemEnum) -> Result<T
|
||||
let unnamed = &unnamedfields.unnamed;
|
||||
|
||||
if unnamed.len() != 1 {
|
||||
c_bail!(unnamed.span(), "#[api] enums variants may have at most 1 element");
|
||||
c_bail!(
|
||||
unnamed.span(),
|
||||
"#[api] enums variants may have at most 1 element"
|
||||
);
|
||||
}
|
||||
|
||||
verify_entries.extend(quote_spanned! { unnamed.span() =>
|
||||
|
Loading…
Reference in New Issue
Block a user