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() {
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\" ," ,
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ use crate::syntax::source_map::Span;
1717
1818use 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.
Original file line number Diff line number Diff 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:
You can’t perform that action at this time.
0 commit comments