Skip to content

Commit

Permalink
Remove unnecessary List.wrap/1 call
Browse files Browse the repository at this point in the history
  • Loading branch information
whitfin committed Apr 16, 2016
1 parent c10c22d commit eefc9b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cachex/worker/local.ex
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ defmodule Cachex.Worker.Local do
"""
def update(state, key, changes) do
state.cache
|> :ets.update_element(key, List.wrap(changes))
|> :ets.update_element(key, changes)
|> (&(Util.create_truthy_result/1)).()
end

Expand Down

0 comments on commit eefc9b1

Please sign in to comment.