diff options
author | Joris | 2022-11-21 15:39:03 +0100 |
---|---|---|
committer | Joris | 2022-11-21 15:39:03 +0100 |
commit | f1b134f51254e82f352a06aae9557cc4570627de (patch) | |
tree | e33fc88b3a601904059163a60d9b7b2f2b54dbe4 /src/main.rs | |
parent | a8422f43da46c010ec58666035ad0a6c2254c1ff (diff) |
Use f-strings when convenient
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index c2373f4..4ca3822 100644 --- a/src/main.rs +++ b/src/main.rs @@ -28,7 +28,7 @@ fn main() -> Result<()> { Ok(()) => Ok(()), Err(msg) => { // Show errors in TUI, otherwise they are hidden - gui::message::show(&mut term, &events, &deck_name, &format!("{}", msg), true)?; + gui::message::show(&mut term, &events, &deck_name, &format!("{msg}"), true)?; Err(msg) } } |