Skip to content

Commit

Permalink
chore: allow multiple words on an entry
Browse files Browse the repository at this point in the history
  • Loading branch information
RealHinome authored Jun 6, 2024
1 parent a717e92 commit b8bd991
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion squid/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ impl Squid for SuperSquid {
.await
.iter()
.map(|(word, occurence)| Word {
word: word.to_string(),
word: word.to_string().replace("%20", " "),
occurence: (*occurence).try_into().unwrap_or_default(),
})
.collect::<Vec<_>>(),
Expand Down

0 comments on commit b8bd991

Please sign in to comment.