fix ServiceFlags::remove
This commit is contained in:
parent
f260b097f4
commit
0949be931a
|
@ -110,7 +110,7 @@ impl ServiceFlags {
|
|||
///
|
||||
/// Returns itself.
|
||||
pub fn remove(&mut self, other: ServiceFlags) -> ServiceFlags {
|
||||
self.0 ^= other.0;
|
||||
self.0 &= !other.0;
|
||||
*self
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue