Skip to content

Commit

Permalink
fix: mix format
Browse files Browse the repository at this point in the history
  • Loading branch information
hpopp committed Aug 31, 2024
1 parent 88b8bee commit 5c63a54
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions lib/accessible.ex
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,7 @@ defmodule Accessible do
{current, delete(struct, key)}

other ->
raise "the given function must return a two-element tuple or :pop, got: #{
inspect(other)
}"
raise "the given function must return a two-element tuple or :pop, got: #{inspect(other)}"
end
end

Expand All @@ -56,7 +54,12 @@ defmodule Accessible do
{val, updated}
end

defoverridable fetch: 2, get: 3, put: 3, delete: 2, get_and_update: 3, pop: 3
defoverridable fetch: 2,
get: 3,
put: 3,
delete: 2,
get_and_update: 3,
pop: 3
end
end
end

0 comments on commit 5c63a54

Please sign in to comment.