Merge branch 'master' into master

This commit is contained in:
kevinpoitra 2020-01-27 19:43:53 -05:00 committed by GitHub
commit f877a77733
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 4 deletions

View File

@ -95,11 +95,10 @@ where
/// Calls service and waits for response future completion.
///
/// ```rust
/// use actix_web::{test, App, HttpResponse, http::StatusCode};
/// use actix_service::Service;
/// use actix_web::{test, web, App, HttpResponse, http::StatusCode};
///
/// #[test]
/// fn test_response() {
/// #[actix_rt::test]
/// async fn test_response() {
/// let mut app = test::init_service(
/// App::new()
/// .service(web::resource("/test").to(|| async {