Skip to content

Commit

Permalink
Fix the spec for Hamming problem.
Browse files Browse the repository at this point in the history
  • Loading branch information
percygrunwald committed Jan 7, 2019
1 parent f60625d commit 9cd3aae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exercises/hamming/hamming.exs
Expand Up @@ -7,7 +7,7 @@ defmodule Hamming do
iex> Hamming.hamming_distance('AAGTCATA', 'TAGCGATC')
{:ok, 4}
"""
@spec hamming_distance([char], [char]) :: non_neg_integer
@spec hamming_distance([char], [char]) :: {:ok, non_neg_integer} | {:error, String.t()}
def hamming_distance(strand1, strand2) do
end
end

0 comments on commit 9cd3aae

Please sign in to comment.