From 03968acb92d2c50ff610675998ace5e8059aa535 Mon Sep 17 00:00:00 2001 From: Botahamec Date: Sun, 23 Oct 2022 13:40:18 -0400 Subject: Unused variable --- src/unexpected.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/unexpected.rs') diff --git a/src/unexpected.rs b/src/unexpected.rs index 17e024d..3b27a9f 100644 --- a/src/unexpected.rs +++ b/src/unexpected.rs @@ -107,7 +107,7 @@ impl RawUnexpected { #[must_use] pub fn source(&self) -> Option<&(dyn Error + 'static)> { match &self.internal { - ErrorTy::Message(m) => None, + ErrorTy::Message(_) => None, #[cfg(feature = "std")] ErrorTy::Error(e) => Some(&**e), } -- cgit v1.2.3