From bdfa3887f19fad65cfaa3b949912eb926bb3878a Mon Sep 17 00:00:00 2001 From: Luca Barbato Date: Fri, 3 Jun 2022 08:30:48 +0200 Subject: [PATCH] Fix a typo (#1064) --- axum/src/docs/routing/nest.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/axum/src/docs/routing/nest.md b/axum/src/docs/routing/nest.md index 947ac573d6..a63b14dfbc 100644 --- a/axum/src/docs/routing/nest.md +++ b/axum/src/docs/routing/nest.md @@ -31,7 +31,7 @@ let app = Router::new().nest("/api", api_routes); # How the URI changes -Note that nested routes will not see the orignal request URI but instead +Note that nested routes will not see the original request URI but instead have the matched prefix stripped. This is necessary for services like static file serving to work. Use [`OriginalUri`] if you need the original request URI.