1
0
Fork 0
mirror of https://github.com/tokio-rs/axum.git synced 2025-03-21 22:48:51 +01:00

Add scope doc alias for Router::nest ()

This commit is contained in:
Jonas Platte 2024-06-09 20:15:31 +02:00 committed by GitHub
parent 0a92e31a50
commit 80afd9253d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -185,6 +185,7 @@ where
}
#[doc = include_str!("../docs/routing/nest.md")]
#[doc(alias = "scope")] // Some web frameworks like actix-web use this term
#[track_caller]
pub fn nest(self, path: &str, router: Router<S>) -> Self {
let RouterInner {