diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/unexpected.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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), } |
