aboutsummaryrefslogtreecommitdiff
path: root/bin/src
diff options
context:
space:
mode:
Diffstat (limited to 'bin/src')
-rw-r--r--bin/src/config.rs2
-rw-r--r--bin/src/explain.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/src/config.rs b/bin/src/config.rs
index 7188c45..1649017 100644
--- a/bin/src/config.rs
+++ b/bin/src/config.rs
@@ -26,7 +26,7 @@ pub enum SubCommand {
26 Fix(Fix), 26 Fix(Fix),
27 /// Fix exactly one issue at provided position 27 /// Fix exactly one issue at provided position
28 Single(Single), 28 Single(Single),
29 /// Print detailed explaination for a lint warning 29 /// Print detailed explanation for a lint warning
30 Explain(Explain), 30 Explain(Explain),
31} 31}
32 32
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}