aboutsummaryrefslogtreecommitdiff
path: root/bin/src/explain.rs
diff options
context:
space:
mode:
authorAkshay <[email protected]>2021-10-31 16:03:45 +0000
committerAkshay <[email protected]>2021-10-31 16:03:45 +0000
commit79614a9d6df02c661071f55e81bfc81da5055480 (patch)
tree0ae4ec11fd3dc0f8b69bc0f32c08858ef23a9485 /bin/src/explain.rs
parent15ccd864c8869f87a564e5ab7e923dcc2bb54340 (diff)
fix the spelling of explanationoffline-explain
Diffstat (limited to 'bin/src/explain.rs')
-rw-r--r--bin/src/explain.rs2
1 files changed, 1 insertions, 1 deletions
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> {
9 .values() 9 .values()
10 .flatten() 10 .flatten()
11 .find(|l| l.code() == code) 11 .find(|l| l.code() == code)
12 .map(|l| l.explaination()) 12 .map(|l| l.explanation())
13 .ok_or(ExplainErr::LintNotFound(code)), 13 .ok_or(ExplainErr::LintNotFound(code)),
14 } 14 }
15} 15}