From fb5219f9cd77ac6c4f7b7455b3e8e27ae8126c4e Mon Sep 17 00:00:00 2001 From: David Pedersen Date: Wed, 29 Jun 2022 22:21:28 +0200 Subject: [PATCH] fix docs --- axum-extra/src/routing/resource.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/axum-extra/src/routing/resource.rs b/axum-extra/src/routing/resource.rs index 482571f1..720c0407 100644 --- a/axum-extra/src/routing/resource.rs +++ b/axum-extra/src/routing/resource.rs @@ -137,7 +137,7 @@ where self.route(&path, delete(handler)) } - /// Nest another route at the "member level". + /// Nest another router at the "member level". /// /// The routes will be nested at `/{resource_name}/:{resource_name}_id`. pub fn nest(mut self, router: Router) -> Self { @@ -146,7 +146,7 @@ where self } - /// Nest another route at the "collection level". + /// Nest another router at the "collection level". /// /// The routes will be nested at `/{resource_name}`. pub fn nest_collection(mut self, router: Router) -> Self {