Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
README and `Configurator` module doc typo.
  • Loading branch information
amalbuquerque committed Apr 26, 2021
1 parent 47fd6f2 commit b34e65a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ dependencies in `mix.exs`:
```elixir
def deps do
[
{:interceptor, "~> 0.5.3"}
{:interceptor, "~> 0.5.4"}
]
end
```
Expand Down
2 changes: 1 addition & 1 deletion lib/configuration/configurator.ex
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ defmodule Interceptor.Configurator do

@doc """
This function converts a map or a list of 2-element tuples (i.e. any structure
that can be iterated with `Enum.map/1` as a list of 2-element tuples) into a
that can be iterated with `Enum.map/2` as a list of 2-element tuples) into a
"proper" (i.e. tuple-based) intercept configuration map. Each
element is a `{mfa_to_intercept, callbacks}` tuple, where `mfa_to_intercept`
is the MFA of the function to intercept as a `"Module.function/arity"` string,
Expand Down

0 comments on commit b34e65a

Please sign in to comment.