File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -9,8 +9,6 @@ additionals = "additionals"
9
9
stap = " stap"
10
10
# MIS value
11
11
mis = " mis"
12
- # alls is short for allocs. TODO: maybe just make it allocs?
13
- alls = " alls"
14
12
# datas is used a lot for plural.
15
13
datas = " datas"
16
14
# 2nd for second
Original file line number Diff line number Diff line change @@ -279,8 +279,8 @@ impl Allocation {
279
279
tokio:: select! {
280
280
_ = & mut timer => {
281
281
if let Some ( allocs) = & allocations{
282
- let mut alls = allocs. lock( ) . await ;
283
- if let Some ( a) = alls . remove( & five_tuple) {
282
+ let mut allocs = allocs. lock( ) . await ;
283
+ if let Some ( a) = allocs . remove( & five_tuple) {
284
284
let _ = a. close( ) . await ;
285
285
}
286
286
}
@@ -355,8 +355,8 @@ impl Allocation {
355
355
Ok ( ( n, src_addr) ) => ( n, src_addr) ,
356
356
Err ( _) => {
357
357
if let Some ( allocs) = & allocations {
358
- let mut alls = allocs. lock( ) . await ;
359
- alls . remove( & five_tuple) ;
358
+ let mut allocs = allocs. lock( ) . await ;
359
+ allocs . remove( & five_tuple) ;
360
360
}
361
361
break ;
362
362
}
You can’t perform that action at this time.
0 commit comments