Skip to content
This repository has been archived by the owner on Jul 15, 2024. It is now read-only.

Commit

Permalink
Clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
TTWNO committed Jun 3, 2024
1 parent 374915e commit 245b708
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fry_normalize/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ fn normalize_number(input: &str) -> Result<String, Error> {
fn normalize_word(word: &str) -> Result<String, Error> {
Ok(word.to_string())
}
fn normalize_symbol(sym: &str) -> Result<String, Error> {
fn normalize_symbol(_sym: &str) -> Result<String, Error> {
todo!()
}

Expand Down Expand Up @@ -152,7 +152,7 @@ mod tests {
#[test]
fn regex_loads_successfully() {
let map = regex_map().unwrap();
assert!(map.len() > 0, "The map must contain at least one item");
assert!(!map.len().is_empty(), "The map must contain at least one item");
}
#[test]
fn test_number_normalization() {
Expand Down

0 comments on commit 245b708

Please sign in to comment.