This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ declare_clippy_lint! {
1616 /// and it may be desirable to do so consistently for style.
1717 ///
1818 /// However, removing the brackets also introduces a public constant named after the struct,
19- /// so this is not just a syntactic simplification but an an API change, and adding them back
19+ /// so this is not just a syntactic simplification but an API change, and adding them back
2020 /// is a *breaking* API change.
2121 ///
2222 /// ### Example
@@ -44,7 +44,7 @@ declare_clippy_lint! {
4444 /// and it may be desirable to do so consistently for style.
4545 ///
4646 /// However, removing the brackets also introduces a public constant named after the variant,
47- /// so this is not just a syntactic simplification but an an API change, and adding them back
47+ /// so this is not just a syntactic simplification but an API change, and adding them back
4848 /// is a *breaking* API change.
4949 ///
5050 /// ### Example
Original file line number Diff line number Diff line change @@ -258,7 +258,7 @@ impl<'tcx> NonCopyConst<'tcx> {
258258 // e.g. implementing `has_frozen_variant` described above, and not running this function
259259 // when the type doesn't have any frozen variants would be the 'correct' way for the 2nd
260260 // case (that actually removes another suboptimal behavior (I won't say 'false positive') where,
261- // similar to 2., but with the a frozen variant) (e.g. borrowing
261+ // similar to 2., but with a frozen variant) (e.g. borrowing
262262 // `borrow_interior_mutable_const::enums::AssocConsts::TO_BE_FROZEN_VARIANT`).
263263 // I chose this way because unfrozen enums as assoc consts are rare (or, hopefully, none).
264264 matches ! ( err, ErrorHandled :: TooGeneric ( ..) )
You can’t perform that action at this time.
0 commit comments