Skip to content

Commit b0a1fac

Browse files
committed
Auto merge of #3580 - matthiaskrgr:trivial_typos, r=flip1995
fix a couple of trivial typos (NFC).
2 parents af14342 + 7f5e17f commit b0a1fac

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

clippy_dev/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ fn test_gen_deprecated() {
432432
"should_assert_eq",
433433
"group1",
434434
"abc",
435-
Some("has been superseeded by should_assert_eq2"),
435+
Some("has been superseded by should_assert_eq2"),
436436
"module_name",
437437
),
438438
Lint::new(
@@ -447,7 +447,7 @@ fn test_gen_deprecated() {
447447
let expected: Vec<String> = vec![
448448
" store.register_removed(",
449449
" \"should_assert_eq\",",
450-
" \"has been superseeded by should_assert_eq2\",",
450+
" \"has been superseded by should_assert_eq2\",",
451451
" );",
452452
" store.register_removed(",
453453
" \"another_deprecated\",",

clippy_lints/src/double_comparison.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ use crate::syntax::source_map::Span;
1717

1818
use crate::utils::{snippet_with_applicability, span_lint_and_sugg, SpanlessEq};
1919

20-
/// **What it does:** Checks for double comparions that could be simpified to a single expression.
20+
/// **What it does:** Checks for double comparions that could be simplified to a single expression.
2121
///
2222
///
2323
/// **Why is this bad?** Readability.

clippy_lints/src/write.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ impl EarlyLintPass for Pass {
257257
}
258258

259259
/// Checks the arguments of `print[ln]!` and `write[ln]!` calls. It will return a tuple of two
260-
/// options. The first part of the tuple is `format_str` of the macros. The secund part of the tuple
260+
/// options. The first part of the tuple is `format_str` of the macros. The second part of the tuple
261261
/// is in the `write[ln]!` case the expression the `format_str` should be written to.
262262
///
263263
/// Example:

0 commit comments

Comments
 (0)