From e857002d462bf08b197913fd1c3267a1f456a226 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Wed, 8 Mar 2023 12:27:21 -0500 Subject: clippy --- src/error.rs | 4 ++-- 1 file 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}") } } } -- cgit v1.2.3-54-g00ecf