File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -270,13 +270,14 @@ declare_clippy_lint! {
270270
271271declare_clippy_lint ! {
272272 /// ### What it does
273- /// Checks for attributes that allow lints without a reason.
274- ///
275- /// (This requires the `lint_reasons` feature)
273+ /// Checks for attributes that allow lints without specifying the reason
274+ /// they should be allowed. (This requires the `lint_reasons` feature.)
276275 ///
277276 /// ### Why restrict this?
278- /// Justifying each `allow` helps readers understand the reasoning,
279- /// and may allow removing `allow` attributes if their purpose is obsolete.
277+ /// There should always be a specific reason to allow a lint. This reason
278+ /// should be documented using the `reason` parameter, so that readers can
279+ /// understand why the `allow` is required, or remove it if it's no
280+ /// longer needed.
280281 ///
281282 /// ### Example
282283 /// ```no_run
You can’t perform that action at this time.
0 commit comments