diff options
author | Alexandru Macovei <alexnmaco@gmail.com> | 2022-10-19 14:45:12 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-19 13:45:12 +0200 |
commit | 6b5745f6c24e11b2def9df13aa49c74fb6ba187a (patch) | |
tree | f1aac11b6f2cbc0909e883788997021addd0b3a3 /src/tabs | |
parent | e2a0f3800fa57d53d462f99da575e5538ea85cdb (diff) |
Fix Clippy Lints (#1390)
* apply latest nigtly clippy lints
* temporarily disable const fn lints due to nigh false positive count on nightly
Diffstat (limited to 'src/tabs')
-rw-r--r-- | src/tabs/stashlist.rs | 2 | ||||
-rw-r--r-- | src/tabs/status.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/tabs/stashlist.rs b/src/tabs/stashlist.rs index 1d61d988..fbdf0fe2 100644 --- a/src/tabs/stashlist.rs +++ b/src/tabs/stashlist.rs @@ -68,7 +68,7 @@ impl StashList { } Err(e) => { self.queue.push(InternalEvent::ShowErrorMsg( - format!("stash apply error:\n{}", e,), + format!("stash apply error:\n{e}",), )); } } diff --git a/src/tabs/status.rs b/src/tabs/status.rs index 609c6c61..eab771df 100644 --- a/src/tabs/status.rs +++ b/src/tabs/status.rs @@ -290,7 +290,7 @@ impl Status { .unwrap_or_default(), ) } - _ => format!("{:?}", state), + _ => format!("{state:?}"), } } |