diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/src/lib.rs | 8 |
1 files changed, 4 insertions, 4 deletions
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 { | |||
234 | fn match_kind(&self) -> Vec<SyntaxKind>; | 234 | fn match_kind(&self) -> Vec<SyntaxKind>; |
235 | } | 235 | } |
236 | 236 | ||
237 | /// Contains offline explaination for each lint | 237 | /// Contains offline explanation for each lint |
238 | /// The `lint` macro scans nearby doc comments for | 238 | /// The `lint` macro scans nearby doc comments for |
239 | /// explainations and derives this trait. | 239 | /// explanations and derives this trait. |
240 | /// | 240 | /// |
241 | /// FIXME: the lint macro does way too much, maybe | 241 | /// FIXME: the lint macro does way too much, maybe |
242 | /// split it into smaller macros. | 242 | /// split it into smaller macros. |
243 | pub trait Explain { | 243 | pub trait Explain { |
244 | fn explaination(&self) -> &'static str { | 244 | fn explanation(&self) -> &'static str { |
245 | "no explaination found" | 245 | "no explanation found" |
246 | } | 246 | } |
247 | } | 247 | } |
248 | 248 | ||