aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2023-03-08 12:27:21 -0500
committerJesse Luehrs <doy@tozt.net>2023-03-08 12:27:21 -0500
commite857002d462bf08b197913fd1c3267a1f456a226 (patch)
tree5c68e4c40af787669ef418e1688782eabe84ed7c
parent0655a8bffd0534b687b1c9b1667030b5dee69b5f (diff)
downloadttyrec-e857002d462bf08b197913fd1c3267a1f456a226.tar.gz
ttyrec-e857002d462bf08b197913fd1c3267a1f456a226.zip
clippy
-rw-r--r--src/error.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/error.rs b/src/error.rs
index b682e9d..7b8b524 100644
--- a/src/error.rs
+++ b/src/error.rs
@@ -38,10 +38,10 @@ impl std::fmt::Display for Error {
u32::max_value()
),
Self::Read { source } => {
- write!(f, "failed to read from input: {}", source)
+ write!(f, "failed to read from input: {source}")
}
Self::Write { source } => {
- write!(f, "failed to write to output: {}", source)
+ write!(f, "failed to write to output: {source}")
}
}
}