mirror of
https://github.com/Cuprate/cuprate.git
synced 2024-12-22 11:39:26 +00:00
correct cast
This commit is contained in:
parent
9ebdd55f36
commit
3b11d12775
1 changed files with 1 additions and 1 deletions
|
@ -360,7 +360,7 @@ fn tables_are_sorted() {
|
|||
// Insert range, assert each new
|
||||
// number inserted is the minimum `last()` value.
|
||||
for key in RANGE {
|
||||
table.put(&key, &(key as u64)).unwrap();
|
||||
table.put(&key, &u64::from(key)).unwrap();
|
||||
table.contains(&key).unwrap();
|
||||
let (first, _) = table.first().unwrap();
|
||||
let (last, _) = table.last().unwrap();
|
||||
|
|
Loading…
Reference in a new issue