mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-24 20:48:55 +00:00
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:
parent
ea33028957
commit
a446434855
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue