Skip to content

Commit

Permalink
docs(web): mention try_init_service
Browse files Browse the repository at this point in the history
  • Loading branch information
robjtede committed Aug 18, 2024
1 parent f61fcbe commit 4303dd8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion actix-web/src/test/mod.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
//! Various helpers for Actix applications to use during testing.
//!
//! # Creating A Test Service
//! # Initializing A Test Service
//! - [`init_service`]
//! - [`try_init_service`]

Check failure on line 5 in actix-web/src/test/mod.rs

View workflow job for this annotation

GitHub Actions / doc tests

unresolved link to `try_init_service`
//!
//! # Off-The-Shelf Test Services
//! - [`ok_service`]
Expand Down Expand Up @@ -49,6 +50,7 @@ pub use self::{
/// Must be used inside an async test. Works for both `ServiceRequest` and `HttpRequest`.
///
/// # Examples
///
/// ```
/// use actix_web::{http::StatusCode, HttpResponse};
///
Expand Down

0 comments on commit 4303dd8

Please sign in to comment.