Skip to content

Commit ce48c60

Browse files
committed
clippy: bless tests
1 parent 411607b commit ce48c60

5 files changed

+6
-6
lines changed

src/tools/clippy/tests/ui/from_over_into.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ help: replace the `Into` implementation with `From<ExplicitPaths>`
5454
LL ~ impl core::convert::From<crate::ExplicitPaths> for bool {
5555
LL ~ fn from(mut val: crate::ExplicitPaths) -> Self {
5656
LL ~ let in_closure = || val.0;
57-
LL |
57+
LL |
5858
LL ~ val.0 = false;
5959
LL ~ val.0
6060
|

src/tools/clippy/tests/ui/let_and_return.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ LL | result
7171
help: return the expression directly
7272
|
7373
LL ~
74-
LL |
74+
LL |
7575
LL ~ (match self {
7676
LL + E::A(x) => x,
7777
LL + E::B(x) => x,

src/tools/clippy/tests/ui/manual_strip.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ LL ~ if let Some(<stripped>) = s.strip_prefix("ab") {
1717
LL ~ str::to_string(<stripped>);
1818
LL |
1919
LL ~ <stripped>.to_string();
20-
LL |
20+
LL |
2121
LL ~ str::to_string(<stripped>);
2222
LL ~ <stripped>.to_string();
2323
|
@@ -39,7 +39,7 @@ LL ~ if let Some(<stripped>) = s.strip_suffix("bc") {
3939
LL ~ str::to_string(<stripped>);
4040
LL |
4141
LL ~ <stripped>.to_string();
42-
LL |
42+
LL |
4343
LL ~ str::to_string(<stripped>);
4444
LL ~ <stripped>.to_string();
4545
|

src/tools/clippy/tests/ui/result_map_unit_fn_unfixable.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ LL | || do_nothing(value)
2727
LL | || });
2828
| ||______^- help: try: `if let Ok(value) = x.field { ... }`
2929
| |______|
30-
|
30+
|
3131

3232
error: called `map(f)` on an `Result` value where `f` is a closure that returns the unit type `()`
3333
--> tests/ui/result_map_unit_fn_unfixable.rs:37:5

src/tools/clippy/tests/ui/suspicious_doc_comments.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ LL | | ///! b
8585
help: use an inner doc comment to document the parent module or crate
8686
|
8787
LL ~ //! a
88-
LL |
88+
LL |
8989
LL ~ //! b
9090
|
9191

0 commit comments

Comments
 (0)