eliminate an unwrap in gdt for x86_shared
This commit is contained in:
@@ -127,7 +127,7 @@ impl WaitCondition {
|
||||
waited
|
||||
}
|
||||
|
||||
pub fn into_drop(mut self, token: &mut CleanLockToken) {
|
||||
pub fn into_drop(self, token: &mut CleanLockToken) {
|
||||
ManuallyDrop::new(self).inner_drop(token);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user