Reduce turbofish usage
Should make the code a little bit easier to read.
This commit is contained in:
parent
1c4d9af586
commit
f2ef5677e0
23 changed files with 331 additions and 387 deletions
|
@ -699,7 +699,7 @@ impl Database {
|
|||
|
||||
println!("Deleting starts");
|
||||
|
||||
let batch2 = db
|
||||
let batch2: Vec<_> = db
|
||||
.rooms
|
||||
.tokenids
|
||||
.iter()
|
||||
|
@ -711,7 +711,7 @@ impl Database {
|
|||
None
|
||||
}
|
||||
})
|
||||
.collect::<Vec<_>>();
|
||||
.collect();
|
||||
|
||||
for key in batch2 {
|
||||
println!("del");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue