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

Commit a0eb55d

Browse files
committed
allow multiple solutions
1 parent f99e56d commit a0eb55d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ pub fn collect_suggestions<S: ::std::hash::BuildHasher>(
184184
})
185185
.filter_map(collect_span)
186186
.collect();
187-
if replacements.len() == 1 {
187+
if replacements.len() >= 1 {
188188
Some(Solution {
189189
message: child.message.clone(),
190190
replacements,

0 commit comments

Comments
 (0)