File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -305,13 +305,16 @@ declare_clippy_lint! {
305305
306306declare_clippy_lint ! {
307307 /// ### What it does
308- /// Checks for attributes that allow lints without a reason.
308+ /// Checks for attributes that allow lints without specifying the reason
309+ /// they should be allowed.
309310 ///
310- /// (This requires the `lint_reasons` feature)
311+ /// (This requires the `lint_reasons` feature. )
311312 ///
312313 /// ### Why restrict this?
313- /// Justifying each `allow` helps readers understand the reasoning,
314- /// and may allow removing `allow` attributes if their purpose is obsolete.
314+ /// There should always be a specific reason to allow a lint. This reason
315+ /// should be documented using the `reason` parameter, so that readers can
316+ /// understand why the `allow` is required, or remove it if it's no
317+ /// longer needed.
315318 ///
316319 /// ### Example
317320 /// ```no_run
You can’t perform that action at this time.
0 commit comments