mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-12-24 02:49:34 +01:00
rustfmt
This commit is contained in:
parent
f62af15cfd
commit
26f8ca6969
1 changed files with 8 additions and 6 deletions
14
build.rs
14
build.rs
|
@ -91,13 +91,15 @@ fn main() {
|
|||
}
|
||||
|
||||
let u = Ident::new(format!("U{}", (1 << bits)));
|
||||
tokens.push(quote! {
|
||||
#[doc(hidden)]
|
||||
pub type CMAX = C<::typenum::#u>;
|
||||
tokens.push(
|
||||
quote! {
|
||||
#[doc(hidden)]
|
||||
pub type CMAX = C<::typenum::#u>;
|
||||
|
||||
/// Maximum priority level
|
||||
pub type UMAX = ::typenum::#u;
|
||||
});
|
||||
/// Maximum priority level
|
||||
pub type UMAX = ::typenum::#u;
|
||||
},
|
||||
);
|
||||
|
||||
let tokens = quote! {
|
||||
#(#tokens)*
|
||||
|
|
Loading…
Reference in a new issue