Skip to content

Commit 2ddcfb8

Browse files
committed
Auto merge of rust-lang#12000 - Takashiidobe:fix-some-typos, r=llogiq
Fixing some other typos *Please write a short comment explaining your change (or "none" for internal only changes)* changelog: none
2 parents e0b25c5 + 9c2be20 commit 2ddcfb8

3 files changed

+3
-3
lines changed

clippy_lints/src/default_constructed_unit_structs.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ declare_clippy_lint! {
4242
#[clippy::version = "1.71.0"]
4343
pub DEFAULT_CONSTRUCTED_UNIT_STRUCTS,
4444
complexity,
45-
"unit structs can be contructed without calling `default`"
45+
"unit structs can be constructed without calling `default`"
4646
}
4747
declare_lint_pass!(DefaultConstructedUnitStructs => [DEFAULT_CONSTRUCTED_UNIT_STRUCTS]);
4848

clippy_lints/src/implied_bounds_in_impls.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ fn try_resolve_type<'tcx>(
158158

159159
/// This function tries to, for all generic type parameters in a supertrait predicate `trait ...<U>:
160160
/// GenericTrait<U>`, check if the substituted type in the implied-by bound matches with what's
161-
/// subtituted in the implied bound.
161+
/// substituted in the implied bound.
162162
///
163163
/// Consider this example.
164164
/// ```rust,ignore

clippy_lints/src/ineffective_open_options.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ declare_clippy_lint! {
1616
///
1717
/// ### Why is this bad?
1818
/// `.append(true)` already enables `write(true)`, making this one
19-
/// superflous.
19+
/// superfluous.
2020
///
2121
/// ### Example
2222
/// ```no_run

0 commit comments

Comments
 (0)