Skip to content
This repository was archived by the owner on Nov 24, 2023. It is now read-only.

Commit 2eaaa75

Browse files
committed
Address review feedback
1 parent 7d5bb22 commit 2eaaa75

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

cargo-fix/tests/all/edition_upgrade.rs

-2
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ fn local_paths() {
7272
[FINISHED] dev [unoptimized + debuginfo]
7373
";
7474
p.expect_cmd("cargo-fix fix --prepare-for 2018")
75-
.env("__CARGO_FIX_YOLO", "true")
7675
.stdout("")
7776
.stderr(stderr)
7877
.run();
@@ -105,7 +104,6 @@ fn local_paths_no_fix() {
105104
[FINISHED] dev [unoptimized + debuginfo]
106105
";
107106
p.expect_cmd("cargo-fix fix --prepare-for 2018")
108-
.env("__CARGO_FIX_YOLO", "true")
109107
.stdout("")
110108
.stderr(stderr)
111109
.run();

src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ pub fn collect_suggestions<S: ::std::hash::BuildHasher>(
183183
match (filter, &span.suggestion_applicability) {
184184
(MachineApplicableOnly, Some(MachineApplicable)) => true,
185185
(MachineApplicableOnly, _) => false,
186-
(_, _) => true,
186+
(Everything, _) => true,
187187
}
188188
})
189189
.filter_map(collect_span)

0 commit comments

Comments
 (0)