Skip to content

Commit 8ab4b15

Browse files
committed
Adjust wording of attributes.diagnostic.do_not_recommend.allowed-positions
Say the attribute name.
1 parent 49234ba commit 8ab4b15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/attributes/diagnostics.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -661,7 +661,7 @@ r[attributes.diagnostic.do_not_recommend.syntax]
661661
The `diagnostic::do_not_recommend` attribute does not accept any arguments, though unexpected arguments are not considered as an error.
662662
663663
r[attributes.diagnostic.do_not_recommend.allowed-positions]
664-
The attribute should be placed on a [trait implementation item][trait-impl], though it is not an error to be located in other positions.
664+
The `diagnostic::do_not_recommend` attribute should be placed on a [trait implementation item][trait-impl], though it is not an error to be located in other positions.
665665
666666
667667
[Clippy]: https://github.com/rust-lang/rust-clippy

0 commit comments

Comments
 (0)