Skip to content

Commit

Permalink
Merge pull request #1995 from gertjanvanzwieten/fix-pycounter
Browse files Browse the repository at this point in the history
add missing annotation to PyCounter.__call__
  • Loading branch information
davidhewitt committed Nov 15, 2021
2 parents 8e41483 + 0e40277 commit 3e16a2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guide/src/class/protocols.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ impl PyCounter {
fn __new__(wraps: Py<PyAny>) -> Self {
PyCounter { count: 0, wraps }
}

#[args(args="*", kwargs="**")]
fn __call__(
&mut self,
py: Python,
Expand Down

0 comments on commit 3e16a2a

Please sign in to comment.