diff options
| author | Nathan Reiner <nathan@nathanreiner.xyz> | 2023-07-13 22:55:50 +0200 |
|---|---|---|
| committer | Nathan Reiner <nathan@nathanreiner.xyz> | 2023-07-13 22:55:50 +0200 |
| commit | 0723ea6b6bb6832b11582eeb8a330d2bdb6077b5 (patch) | |
| tree | a3d2f3a1c1a2cab471ee1d48a128a890c0388f71 /src/dictionary.rs | |
| parent | 94cfb53c9fd41255d6da7f38d8ce023af7901f38 (diff) | |
use lower memory
Diffstat (limited to 'src/dictionary.rs')
| -rw-r--r-- | src/dictionary.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dictionary.rs b/src/dictionary.rs index 563621d..3e05b91 100644 --- a/src/dictionary.rs +++ b/src/dictionary.rs @@ -79,7 +79,7 @@ impl Dictionary { if !fv.contains_key(&i) { fv.insert(i, 1); } else { - let c : u64 = *fv.get(&i).unwrap(); + let c = *fv.get(&i).unwrap(); fv.insert(i, c + 1); } } @@ -95,7 +95,7 @@ impl Dictionary { if !fv.contains_key(&i) { fv.insert(i, 1); } else { - let c : u64 = *fv.get(&i).unwrap(); + let c = *fv.get(&i).unwrap(); fv.insert(i, c + 1); } } |