fix clone of NotGuard

This commit is contained in:
fakeshadow 2021-01-18 01:01:16 +08:00
parent 50e35ff6ee
commit a110063db3
1 changed files with 1 additions and 1 deletions

View File

@ -195,7 +195,7 @@ impl Guard for NotGuard {
} }
fn clone_guard(&self) -> Box<dyn Guard> { fn clone_guard(&self) -> Box<dyn Guard> {
self.0.clone_guard() Box::new(NotGuard(self.0.clone_guard()))
} }
} }