mirror of
https://github.com/fafhrd91/actix-web
synced 2024-11-30 18:44:35 +01:00
fix doc test
This commit is contained in:
parent
ce40ab307b
commit
f9f2ed04ab
@ -306,7 +306,7 @@ where
|
|||||||
/// # use actix_web::*;
|
/// # use actix_web::*;
|
||||||
/// # fn main() {
|
/// # fn main() {
|
||||||
/// App::new()
|
/// App::new()
|
||||||
/// .filter(pred::Hoat("www.rust-lang.org"))
|
/// .filter(pred::Host("www.rust-lang.org"))
|
||||||
/// .resource("/path", |r| r.f(|_| HttpResponse::Ok()))
|
/// .resource("/path", |r| r.f(|_| HttpResponse::Ok()))
|
||||||
/// # .finish();
|
/// # .finish();
|
||||||
/// # }
|
/// # }
|
||||||
|
Loading…
Reference in New Issue
Block a user