mirror of
https://github.com/actix/actix-web.git
synced 2024-12-19 06:36:36 +00:00
fix doc test
This commit is contained in:
parent
6c7ac7fc22
commit
7f1844e541
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue