Skip to content

Commit 4303dd8

Browse files
committed
docs(web): mention try_init_service
1 parent f61fcbe commit 4303dd8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

actix-web/src/test/mod.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
//! Various helpers for Actix applications to use during testing.
22
//!
3-
//! # Creating A Test Service
3+
//! # Initializing A Test Service
44
//! - [`init_service`]
5+
//! - [`try_init_service`]
56
//!
67
//! # Off-The-Shelf Test Services
78
//! - [`ok_service`]
@@ -49,6 +50,7 @@ pub use self::{
4950
/// Must be used inside an async test. Works for both `ServiceRequest` and `HttpRequest`.
5051
///
5152
/// # Examples
53+
///
5254
/// ```
5355
/// use actix_web::{http::StatusCode, HttpResponse};
5456
///

0 commit comments

Comments
 (0)