mirror of https://github.com/fafhrd91/actix-net
Update actix-server/src/accept.rs
Co-authored-by: Rob Ede <robjtede@icloud.com>
This commit is contained in:
parent
4e3866b8e4
commit
24eb56c3dc
|
@ -121,9 +121,7 @@ impl Availability {
|
||||||
} else {
|
} else {
|
||||||
let shift = 1 << idx as u128;
|
let shift = 1 << idx as u128;
|
||||||
|
|
||||||
if self.0[offset] & shift != 0 {
|
self.0[offset] &= ~shift
|
||||||
self.0[offset] ^= shift;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue