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

Commit d4f016a

Browse files
pietroalbinim-ou-se
authored andcommitted
allow multiple solutions
1 parent ae9b645 commit d4f016a

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
@@ -207,7 +207,7 @@ pub fn collect_suggestions<S: ::std::hash::BuildHasher>(
207207
})
208208
.filter_map(collect_span)
209209
.collect();
210-
if replacements.len() == 1 {
210+
if replacements.len() >= 1 {
211211
Some(Solution {
212212
message: child.message.clone(),
213213
replacements,

0 commit comments

Comments
 (0)