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 --- lib/src/lib.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib') diff --git a/lib/src/lib.rs b/lib/src/lib.rs index e6bfa6c..5347666 100644 --- a/lib/src/lib.rs +++ b/lib/src/lib.rs @@ -234,15 +234,15 @@ pub trait Metadata { fn match_kind(&self) -> Vec; } -/// Contains offline explaination for each lint +/// Contains offline explanation for each lint /// The `lint` macro scans nearby doc comments for -/// explainations and derives this trait. +/// explanations and derives this trait. /// /// FIXME: the lint macro does way too much, maybe /// split it into smaller macros. pub trait Explain { - fn explaination(&self) -> &'static str { - "no explaination found" + fn explanation(&self) -> &'static str { + "no explanation found" } } -- cgit v1.2.3