From 5e35944aabb5bbb099fbbdc17242031911f502f0 Mon Sep 17 00:00:00 2001 From: lucacampanella Date: Wed, 26 May 2021 19:00:17 +0200 Subject: [PATCH] add missing semicolon --- tokenizers/src/models/wordlevel/trainer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tokenizers/src/models/wordlevel/trainer.rs b/tokenizers/src/models/wordlevel/trainer.rs index bef58e149..d81cd3821 100644 --- a/tokenizers/src/models/wordlevel/trainer.rs +++ b/tokenizers/src/models/wordlevel/trainer.rs @@ -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); };