mirror of https://github.com/fafhrd91/actix-web
fix last Condition::new
This commit is contained in:
parent
6620fa5c4e
commit
613be74faf
|
@ -31,7 +31,7 @@ use std::sync::Mutex;
|
|||
/// .wrap(conditionally(enable_normalize, NormalizePath::default()))
|
||||
/// .wrap(optionally(config_opt, |mode| NormalizePath::new(mode)))
|
||||
/// .wrap(optionally_fut(config_opt_future, |mode| NormalizePath::new(mode)))
|
||||
/// .wrap(Condition::new(future));
|
||||
/// .wrap(futurally(future));
|
||||
/// ```
|
||||
|
||||
pub struct Condition<T, F>(Rc<Mutex<F>>)
|
||||
|
|
Loading…
Reference in New Issue