mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-23 20:22:51 +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)));
|
let u = Ident::new(format!("U{}", (1 << bits)));
|
||||||
tokens.push(quote! {
|
tokens.push(
|
||||||
#[doc(hidden)]
|
quote! {
|
||||||
pub type CMAX = C<::typenum::#u>;
|
#[doc(hidden)]
|
||||||
|
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