summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui/result_map_unit_fn_unfixable.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/clippy/tests/ui/result_map_unit_fn_unfixable.stderr')
-rw-r--r--src/tools/clippy/tests/ui/result_map_unit_fn_unfixable.stderr6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tools/clippy/tests/ui/result_map_unit_fn_unfixable.stderr b/src/tools/clippy/tests/ui/result_map_unit_fn_unfixable.stderr
index 88e4efdb0..2e1eb8eb1 100644
--- a/src/tools/clippy/tests/ui/result_map_unit_fn_unfixable.stderr
+++ b/src/tools/clippy/tests/ui/result_map_unit_fn_unfixable.stderr
@@ -20,14 +20,14 @@ error: called `map(f)` on an `Result` value where `f` is a closure that returns
--> $DIR/result_map_unit_fn_unfixable.rs:29:5
|
LL | x.field.map(|value| {
- | _____^
- | |_____|
+ | ______^
+ | | _____|
| ||
LL | || do_nothing(value);
LL | || do_nothing(value)
LL | || });
| ||______^- help: try this: `if let Ok(value) = x.field { ... }`
- | |_______|
+ | |______|
|
error: called `map(f)` on an `Result` value where `f` is a closure that returns the unit type `()`