mirror of https://github.com/fafhrd91/actix-web
fix clone of NotGuard
This commit is contained in:
parent
50e35ff6ee
commit
a110063db3
|
@ -195,7 +195,7 @@ impl Guard for NotGuard {
|
|||
}
|
||||
|
||||
fn clone_guard(&self) -> Box<dyn Guard> {
|
||||
self.0.clone_guard()
|
||||
Box::new(NotGuard(self.0.clone_guard()))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue