Skip to content

Commit

Permalink
add missing semicolon
Browse files Browse the repository at this point in the history
  • Loading branch information
lucacampanella committed May 26, 2021
1 parent d649415 commit 5e35944
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tokenizers/src/models/wordlevel/trainer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ impl WordLevelTrainer {
let cmp = |l: &(&String, &u32), r: &(&String, &u32)| -> std::cmp::Ordering {
let count_comp: std::cmp::Ordering = l.1.cmp(&r.1);
if count_comp != Equal {
return count_comp.reverse()
return count_comp.reverse();
}
return l.0.cmp(&r.0);
};
Expand Down

0 comments on commit 5e35944

Please sign in to comment.