From 79614a9d6df02c661071f55e81bfc81da5055480 Mon Sep 17 00:00:00 2001 From: Akshay Date: Sun, 31 Oct 2021 21:33:45 +0530 Subject: fix the spelling of explanation --- bin/src/explain.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/src/explain.rs') diff --git a/bin/src/explain.rs b/bin/src/explain.rs index c663427..6aefa7e 100644 --- a/bin/src/explain.rs +++ b/bin/src/explain.rs @@ -9,7 +9,7 @@ pub fn explain(code: u32) -> Result<&'static str, ExplainErr> { .values() .flatten() .find(|l| l.code() == code) - .map(|l| l.explaination()) + .map(|l| l.explanation()) .ok_or(ExplainErr::LintNotFound(code)), } } -- cgit v1.2.3