Skip to content

Commit

Permalink
Add scope doc alias for Router::nest (#2756)
Browse files Browse the repository at this point in the history
  • Loading branch information
jplatte committed Jun 9, 2024
1 parent 0a92e31 commit 80afd92
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions axum/src/routing/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 80afd92

Please sign in to comment.