We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a6477a commit ed4cf6fCopy full SHA for ed4cf6f
src/lib.rs
@@ -85,7 +85,7 @@ impl Speller {
85
let results = speller.suggest(&word);
86
Ok(results
87
.into_iter()
88
- .map(|x| (x.value.to_string(), x.weight))
+ .map(|x| (x.value.to_string(), x.weight.0))
89
.collect::<Vec<_>>())
90
}
91
0 commit comments