diff options
| author | mat <github@matdoes.dev> | 2022-11-18 22:10:34 -0600 |
|---|---|---|
| committer | mat <github@matdoes.dev> | 2022-11-18 22:10:34 -0600 |
| commit | 6c6eb5572b869e3199adc560b101fa663c01b5d2 (patch) | |
| tree | 0d2b92c6ea08ed383845d6306747ed399b6a91ea /bot | |
| parent | 7ad4b227267e3bb2da99ef5d76c30cd54d040157 (diff) | |
| download | azalea-drasl-6c6eb5572b869e3199adc560b101fa663c01b5d2.tar.xz | |
clippy + replace some printlns with debug
Diffstat (limited to 'bot')
| -rwxr-xr-x | bot/src/main.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/src/main.rs b/bot/src/main.rs index dd542a1c..942868e2 100755 --- a/bot/src/main.rs +++ b/bot/src/main.rs @@ -25,7 +25,7 @@ async fn main() -> anyhow::Result<()> { println!("{} deadlocks detected", deadlocks.len()); for (i, threads) in deadlocks.iter().enumerate() { - println!("Deadlock #{}", i); + println!("Deadlock #{i}"); for t in threads { println!("Thread Id {:#?}", t.thread_id()); println!("{:#?}", t.backtrace()); @@ -46,7 +46,7 @@ async fn main() -> anyhow::Result<()> { handle, }) .await; - println!("{:?}", e); + println!("{e:?}"); } } |
