From 1e5a2c1dc975e0b72fac7dc99ce099924fe6001e Mon Sep 17 00:00:00 2001 From: Rob Ede Date: Wed, 19 Jul 2023 03:37:24 +0100 Subject: [PATCH] docs: fix from_fn references --- actix-web/src/middleware/mod.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/actix-web/src/middleware/mod.rs b/actix-web/src/middleware/mod.rs index ecd84fd55..8dbd1ff2c 100644 --- a/actix-web/src/middleware/mod.rs +++ b/actix-web/src/middleware/mod.rs @@ -202,11 +202,11 @@ //! natural flow for your behavior. //! //! The experimental `actix_web_lab` crate provides a [`from_fn`][lab_from_fn] utility which allows -//! an async fn to be wrapped and used in the same way as other middleware. See the [`from_fn`] docs -//! for more info and examples of it's use. +//! an async fn to be wrapped and used in the same way as other middleware. See the +//! [`from_fn`][lab_from_fn] docs for more info and examples of it's use. //! -//! While [`from_fn`] is experimental currently, it's likely this helper will graduate to Actix Web -//! at some stage. +//! While [`from_fn`][lab_from_fn] is experimental currently, it's likely this helper will graduate +//! to Actix Web in some form, so feedback is appreciated. //! //! [`Future`]: std::future::Future //! [`App`]: crate::App