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! {
16
16
/// and it may be desirable to do so consistently for style.
17
17
///
18
18
/// 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
20
20
/// is a *breaking* API change.
21
21
///
22
22
/// ### Example
@@ -44,7 +44,7 @@ declare_clippy_lint! {
44
44
/// and it may be desirable to do so consistently for style.
45
45
///
46
46
/// 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
48
48
/// is a *breaking* API change.
49
49
///
50
50
/// ### Example
Original file line number Diff line number Diff line change @@ -258,7 +258,7 @@ impl<'tcx> NonCopyConst<'tcx> {
258
258
// e.g. implementing `has_frozen_variant` described above, and not running this function
259
259
// when the type doesn't have any frozen variants would be the 'correct' way for the 2nd
260
260
// 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
262
262
// `borrow_interior_mutable_const::enums::AssocConsts::TO_BE_FROZEN_VARIANT`).
263
263
// I chose this way because unfrozen enums as assoc consts are rare (or, hopefully, none).
264
264
matches ! ( err, ErrorHandled :: TooGeneric ( ..) )
You can’t perform that action at this time.
0 commit comments