docs: fix from_fn references

This commit is contained in:
Rob Ede 2023-07-19 03:37:24 +01:00
parent 9e409e563c
commit 1e5a2c1dc9
No known key found for this signature in database
GPG Key ID: 97C636207D3EF933
1 changed files with 4 additions and 4 deletions

View File

@ -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