Skip to content

Commit

Permalink
docs: Fix misplaced comment in dependency-injection.rst for better cl…
Browse files Browse the repository at this point in the history
…arity (#3671)

Update dependency-injection.rst
  • Loading branch information
Zimzozaur authored Aug 16, 2024
1 parent f80b4d3 commit 5a50b5f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/usage/dependency-injection.rst
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,8 @@ the application:
local_dependency: int,
) -> None: ...
# on the router
# on the router
my_router = Router(
path="/router",
dependencies={"router_dependency": Provide(dict_fn)},
Expand Down

0 comments on commit 5a50b5f

Please sign in to comment.