diff options
| author | Eskil Queseth <eskilq@kth.se> | 2021-06-13 19:19:31 +0200 |
|---|---|---|
| committer | Eskil Queseth <eskilq@kth.se> | 2021-06-13 19:19:31 +0200 |
| commit | 1f41a6b9a439bab3f05e464d621eb3607116646e (patch) | |
| tree | 54dc0f2da08440ff4a07a5d59990effb7de66b79 /mumd/src | |
| parent | 90f5e8ef3c7aa61ccdb087073b2c0cf6ac52f1ee (diff) | |
| download | mum-1f41a6b9a439bab3f05e464d621eb3607116646e.tar.gz | |
add meta_variable_misuse lint
Diffstat (limited to 'mumd/src')
| -rw-r--r-- | mumd/src/main.rs | 2 | ||||
| -rw-r--r-- | mumd/src/state.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/mumd/src/main.rs b/mumd/src/main.rs index e7a7945..4f611a4 100644 --- a/mumd/src/main.rs +++ b/mumd/src/main.rs @@ -1,4 +1,4 @@ -#![warn(elided_lifetimes_in_paths)] +#![warn(elided_lifetimes_in_paths, meta_variable_misuse)] #![deny(keyword_idents, macro_use_extern_crate)] mod audio; diff --git a/mumd/src/state.rs b/mumd/src/state.rs index 9d9e1c6..38d54d3 100644 --- a/mumd/src/state.rs +++ b/mumd/src/state.rs @@ -29,7 +29,7 @@ use tokio::sync::{mpsc, watch}; macro_rules! at { ( $( $event:expr => $generator:expr ),+ $(,)? ) => { ExecutionContext::TcpEventCallback(vec![ - $( ($event, Box::new($generator)), )* + $( ($event, Box::new($generator)), )+ ]) }; } |
