diff --git a/crates/snapbox/src/assert/error.rs b/crates/snapbox/src/assert/error.rs index b8b6e186..11b0a4ad 100644 --- a/crates/snapbox/src/assert/error.rs +++ b/crates/snapbox/src/assert/error.rs @@ -96,7 +96,7 @@ impl Backtrace { #[cfg(not(feature = "debug"))] impl std::fmt::Display for Backtrace { - fn fmt(&self, _: &mut std::fmt::Formatter) -> std::fmt::Result { + fn fmt(&self, _: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { Ok(()) } }