From 6fda922bdb11e2bf5ebb6e9663ff181078f040cb Mon Sep 17 00:00:00 2001 From: Helge Penne Date: Fri, 10 Jan 2025 06:19:22 +0100 Subject: [PATCH] Attempt to fix compilation error for write! (may have used too new syntax) --- src/buf/buf_impl.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/buf/buf_impl.rs b/src/buf/buf_impl.rs index 796358494..6eae36e71 100644 --- a/src/buf/buf_impl.rs +++ b/src/buf/buf_impl.rs @@ -34,7 +34,7 @@ impl std::fmt::Display for TryGetError { requested, available, } => { - write!(f, "Not enough bytes remaining in buffer to read value (requested {requested} but only {available} available)") + write!(f, "Not enough bytes remaining in buffer to read value (requested {} but only {} available)", requested, available) } } }