mirror of https://github.com/fafhrd91/actix-web
Update src/middleware/condition.rs
Co-Authored-By: Yuki Okushi <huyuumi.dev@gmail.com>
This commit is contained in:
parent
ce4e9a5595
commit
dd1cd59299
|
@ -19,7 +19,6 @@ use futures::{Future, Poll};
|
||||||
/// .wrap(Condition::new(enable_normalize, NormalizePath));
|
/// .wrap(Condition::new(enable_normalize, NormalizePath));
|
||||||
/// }
|
/// }
|
||||||
/// ```
|
/// ```
|
||||||
///
|
|
||||||
pub struct Condition<T> {
|
pub struct Condition<T> {
|
||||||
trans: T,
|
trans: T,
|
||||||
enable: bool,
|
enable: bool,
|
||||||
|
|
Loading…
Reference in New Issue