Skip to content

Commit

Permalink
Auto merge of #12000 - Takashiidobe:fix-some-typos, r=llogiq
Browse files Browse the repository at this point in the history
Fixing some other typos

*Please write a short comment explaining your change (or "none" for internal only changes)*

changelog: none
  • Loading branch information
bors committed Dec 23, 2023
2 parents e0b25c5 + 9c2be20 commit 2ddcfb8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion clippy_lints/src/default_constructed_unit_structs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ declare_clippy_lint! {
#[clippy::version = "1.71.0"]
pub DEFAULT_CONSTRUCTED_UNIT_STRUCTS,
complexity,
"unit structs can be contructed without calling `default`"
"unit structs can be constructed without calling `default`"
}
declare_lint_pass!(DefaultConstructedUnitStructs => [DEFAULT_CONSTRUCTED_UNIT_STRUCTS]);

Expand Down
2 changes: 1 addition & 1 deletion clippy_lints/src/implied_bounds_in_impls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ fn try_resolve_type<'tcx>(

/// This function tries to, for all generic type parameters in a supertrait predicate `trait ...<U>:
/// GenericTrait<U>`, check if the substituted type in the implied-by bound matches with what's
/// subtituted in the implied bound.
/// substituted in the implied bound.
///
/// Consider this example.
/// ```rust,ignore
Expand Down
2 changes: 1 addition & 1 deletion clippy_lints/src/ineffective_open_options.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ declare_clippy_lint! {
///
/// ### Why is this bad?
/// `.append(true)` already enables `write(true)`, making this one
/// superflous.
/// superfluous.
///
/// ### Example
/// ```no_run
Expand Down

0 comments on commit 2ddcfb8

Please sign in to comment.