mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-12-25 04:14:06 +00:00
bitfield: reformat with cargo fmt
BUG=None TEST=cargo fmt --all -- --check Change-Id: Ieccf6d77af27d299a08d22d9b3ee4b44bd90c5b8 Signed-off-by: Daniel Verkamp <dverkamp@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1370625 Reviewed-by: David Tolnay <dtolnay@chromium.org> Reviewed-by: Dylan Reid <dgreid@chromium.org>
This commit is contained in:
parent
aa5756669a
commit
3397126b3c
1 changed files with 4 additions and 1 deletions
|
@ -22,7 +22,10 @@ type Result<T> = std::result::Result<T, String>;
|
|||
|
||||
/// The function that derives the actual implementation.
|
||||
#[proc_macro_attribute]
|
||||
pub fn bitfield(_args: proc_macro::TokenStream, input: proc_macro::TokenStream) -> proc_macro::TokenStream {
|
||||
pub fn bitfield(
|
||||
_args: proc_macro::TokenStream,
|
||||
input: proc_macro::TokenStream,
|
||||
) -> proc_macro::TokenStream {
|
||||
let derive_input = parse_macro_input!(input as DeriveInput);
|
||||
bitfield_impl(derive_input).into()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue