formatting fixup

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2019-08-12 14:34:23 +02:00
parent 8e24ada75a
commit bb2639bf40

View File

@ -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() =>