Execute cargo clippy --fix

This commit is contained in:
unvalley
2022-10-10 22:28:03 +09:00
parent d8fed1f7a9
commit 811f156031
9 changed files with 27 additions and 25 deletions

View File

@ -574,7 +574,7 @@ mod tests {
expected_prefixes: &[&str],
) {
let mut actual_prefixes = vec![];
trie.for_each_prefix_of(word.as_bytes(), &mut Vec::new(), &search_start, |x| {
trie.for_each_prefix_of(word.as_bytes(), &mut Vec::new(), search_start, |x| {
let s = String::from_utf8(x.to_owned()).unwrap();
actual_prefixes.push(s);
});