Update actix-server/src/accept.rs

Co-authored-by: Rob Ede <robjtede@icloud.com>
This commit is contained in:
fakeshadow 2021-04-15 18:26:45 -07:00 committed by GitHub
parent 4e3866b8e4
commit 24eb56c3dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -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;
}
} }
} }