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