Skip to content

Commit

Permalink
Fix incorrect function reference in documentation.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 477970031
  • Loading branch information
Haiku Contributor authored and copybara-github committed Sep 30, 2022
1 parent 560510c commit 96e513a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion haiku/_src/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -779,7 +779,7 @@ def name(self):
def custom_setter(setter: Setter) -> contextlib.AbstractContextManager:
"""Registers a custom state setter.
When state is set using :func:`get_parameter` we always run all custom setters
When state is set using :func:`set_state` we always run all custom setters
before saving the value.
>>> def zero_during_init(next_setter, value, context):
Expand Down

0 comments on commit 96e513a

Please sign in to comment.