File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -432,7 +432,7 @@ fn test_gen_deprecated() {
432
432
"should_assert_eq" ,
433
433
"group1" ,
434
434
"abc" ,
435
- Some ( "has been superseeded by should_assert_eq2" ) ,
435
+ Some ( "has been superseded by should_assert_eq2" ) ,
436
436
"module_name" ,
437
437
) ,
438
438
Lint :: new(
@@ -447,7 +447,7 @@ fn test_gen_deprecated() {
447
447
let expected: Vec < String > = vec ! [
448
448
" store.register_removed(" ,
449
449
" \" should_assert_eq\" ," ,
450
- " \" has been superseeded by should_assert_eq2\" ," ,
450
+ " \" has been superseded by should_assert_eq2\" ," ,
451
451
" );" ,
452
452
" store.register_removed(" ,
453
453
" \" another_deprecated\" ," ,
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ use crate::syntax::source_map::Span;
17
17
18
18
use crate :: utils:: { snippet_with_applicability, span_lint_and_sugg, SpanlessEq } ;
19
19
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.
21
21
///
22
22
///
23
23
/// **Why is this bad?** Readability.
Original file line number Diff line number Diff line change @@ -257,7 +257,7 @@ impl EarlyLintPass for Pass {
257
257
}
258
258
259
259
/// 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
261
261
/// is in the `write[ln]!` case the expression the `format_str` should be written to.
262
262
///
263
263
/// Example:
You can’t perform that action at this time.
0 commit comments