Run cargo fmt

BUG=None
TEST=None

Change-Id: I6db08c2ccfc616e4e34ad0219580c084dda34675
Reviewed-on: https://chromium-review.googlesource.com/1475058
Commit-Ready: Miriam Zimmerman <mutexlox@chromium.org>
Tested-by: Miriam Zimmerman <mutexlox@chromium.org>
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Dylan Reid <dgreid@chromium.org>
This commit is contained in:
Miriam Zimmerman 2019-02-15 12:17:52 -08:00 committed by chrome-bot
parent ea33028957
commit a446434855

View file

@ -51,7 +51,7 @@ fn bitfield_impl(ast: DeriveInput) -> TokenStream {
Err(err_str) => {
return quote! {
compile_error!(#err_str);
}
};
}
};
let struct_def = get_struct_def(&vis, &name, fields.as_slice());
@ -99,7 +99,7 @@ fn get_struct_fields(ast: DeriveInput) -> Result<Vec<(String, TokenStream)>> {
None => {
return Err(format!(
"Unknown Error. bit_field_derive library might have a bug."
))
));
}
};
let ty = field.ty;