Skip to content

Commit

Permalink
Avoid unused varable warning
Browse files Browse the repository at this point in the history
  • Loading branch information
mfilej committed Sep 3, 2016
1 parent b49348a commit 9e4114c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/himamo/matrix.ex
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ defmodule Himamo.Matrix do
matrix.
"""
@spec put(t, position, entry) :: t
def put(%__MODULE__{map: map, size: size} = matrix, position, entry) do
def put(%__MODULE__{map: map, size: size}, position, entry) do
validate_position_within_size!(position, size)
new_map = Map.put(map, position, entry)
%__MODULE__{size: size, map: new_map}
Expand Down

0 comments on commit 9e4114c

Please sign in to comment.