Skip to content

Commit

Permalink
Remove needless references
Browse files Browse the repository at this point in the history
  • Loading branch information
jplatte committed Jan 29, 2025
1 parent 96f2df4 commit d58ed5b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/aide/src/axum/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ where
router
.paths
.into_iter()
.map(|(route, path_item)| (path_for_nested_route(&path, &route), path_item)),
.map(|(route, path_item)| (path_for_nested_route(path, &route), path_item)),
);

self
Expand All @@ -558,7 +558,7 @@ where
router
.paths
.into_iter()
.map(|(route, path_item)| (path_for_nested_route(&path, &route), path_item)),
.map(|(route, path_item)| (path_for_nested_route(path, &route), path_item)),
);
self.router = self.router.nest_service(path, router.router);
self
Expand Down

0 comments on commit d58ed5b

Please sign in to comment.