Skip to content

Commit

Permalink
Fix typos (#332)
Browse files Browse the repository at this point in the history
  • Loading branch information
hypergonial authored Dec 27, 2023
1 parent a932021 commit b7cc922
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions alluka/_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@ def inject(*, type: typing.Any = None) -> typing.Any: # noqa: A002
def inject(
*, callback: typing.Optional[alluka.CallbackSig[_T]] = None, type: typing.Any = None # noqa: A002
) -> typing.Any:
"""Decare a keyword-argument as requiring an injected dependency.
"""Declare a keyword-argument as requiring an injected dependency.
This may be assigned to an arugment's default value to declare injection
This may be assigned to an argument's default value to declare injection
or as a part of its Annotated metadata.
!!! note
Expand Down
2 changes: 1 addition & 1 deletion docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ async def bar(ctx: alluka.Inject[alluka.abc.Context]) -> None:
client = (
alluka.Client()
.set_type_dependency(TypeA, type_a_impl)
.set_type_dependencu(TypeB, type_b_impl)
.set_type_dependency(TypeB, type_b_impl)
)
```

Expand Down

0 comments on commit b7cc922

Please sign in to comment.