Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
smoes committed Aug 11, 2024
1 parent 38e398c commit dbe10ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/efx.ex
Original file line number Diff line number Diff line change
Expand Up @@ -174,11 +174,11 @@ defmodule Efx do
### Delegate Effects
The same way we use `&Efx.defdelegate/2` we can implement effect functions to just delegate to another function like so:
The same way we use `Kernel.defdelegate/2` we can implement effect functions that just delegate to another function like so:
delegateeffect to_atom(str), to: String
`delegateeffect` follows the same syntax as `&Kernel.defdelegate/2`.
`delegateeffect` follows the same syntax as `Kernel.defdelegate/2`.
Functions defined using `defdelegate` are bindable in tests like they were created using `defeffect`.
"""
Expand Down

0 comments on commit dbe10ea

Please sign in to comment.