summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBotahamec <botahamec@outlook.com>2022-10-23 13:40:18 -0400
committerBotahamec <botahamec@outlook.com>2022-10-23 13:40:18 -0400
commit03968acb92d2c50ff610675998ace5e8059aa535 (patch)
treeae5ed25edc9487bee2687c0f28e3f336de2fdb4c
parentb3a59407812b94a13fd83bf7fec36aac526359a1 (diff)
Unused variable
-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),
}