summaryrefslogtreecommitdiff
path: root/src/unexpected.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/unexpected.rs')
-rw-r--r--src/unexpected.rs2
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),
}