reformat messy code that rustfmt doesn't format
All checks were successful
/ test (push) Successful in 9m17s
All checks were successful
/ test (push) Successful in 9m17s
This commit is contained in:
parent
929e9f8b16
commit
8bd7fcfa27
14 changed files with 647 additions and 196 deletions
|
@ -353,7 +353,10 @@ macro_rules! make_builder_method_enum {
|
|||
})+
|
||||
Err(lookahead.error())
|
||||
}
|
||||
$vis fn parse_dot_prefixed(input: ParseStream, $($parse_arg: $parse_arg_ty),+) -> syn::Result<(Token![.], Self)> {
|
||||
$vis fn parse_dot_prefixed(
|
||||
input: ParseStream,
|
||||
$($parse_arg: $parse_arg_ty,)+
|
||||
) -> syn::Result<(Token![.], Self)> {
|
||||
let dot = input.parse()?;
|
||||
Ok((dot, Self::parse(input, $($parse_arg),+)?))
|
||||
}
|
||||
|
@ -1380,7 +1383,10 @@ impl Visitor {
|
|||
Sign::Plus => (false, value.magnitude().to_bytes_le()),
|
||||
};
|
||||
Some(parse_quote_spanned! {span=>
|
||||
::fayalite::int::make_int_literal::<#signed, #width>(#negative, &[#(#bytes,)*]).to_int_expr()
|
||||
::fayalite::int::make_int_literal::<#signed, #width>(
|
||||
#negative,
|
||||
&[#(#bytes,)*],
|
||||
).to_int_expr()
|
||||
})
|
||||
}
|
||||
fn process_literal(&mut self, literal: ExprLit) -> Expr {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue