diff options
| author | Emil Fresk <emil.fresk@gmail.com> | 2020-12-12 23:31:05 +0100 |
|---|---|---|
| committer | Emil Fresk <emil.fresk@gmail.com> | 2020-12-12 23:35:47 +0100 |
| commit | 1c8de78f6f6e9e265d9d894d2ebde622bf16d44e (patch) | |
| tree | 0ce6ed85be7c80e6204adb8bea8467db29a8f9f2 /macros/src/codegen/util.rs | |
| parent | 8e8ec9b7b879adae8d4de6cb2320b9b19290a7e0 (diff) | |
Cleanup
Diffstat (limited to 'macros/src/codegen/util.rs')
| -rw-r--r-- | macros/src/codegen/util.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/macros/src/codegen/util.rs b/macros/src/codegen/util.rs index 329a7dd..a201dfe 100644 --- a/macros/src/codegen/util.rs +++ b/macros/src/codegen/util.rs @@ -78,7 +78,10 @@ pub fn inputs_ident(task: &Ident) -> Ident { /// Generates an identifier for the `INSTANTS` buffer (`schedule` API) pub fn monotonic_instants_ident(task: &Ident, monotonic: &Ident) -> Ident { - Ident::new(&format!("{}_{}_INSTANTS", task, monotonic), Span::call_site()) + Ident::new( + &format!("{}_{}_INSTANTS", task, monotonic), + Span::call_site(), + ) } pub fn interrupt_ident() -> Ident { |
