Skip to content

Commit 39d8675

Browse files
prihandijosevalim
authored andcommitted
Fix typespec on Base.decode16! (#11526)
1 parent b63f8f5 commit 39d8675

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/elixir/lib/base.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ defmodule Base do
340340
"foobar"
341341
342342
"""
343-
@spec decode16!(binary, case: encode_case) :: binary
343+
@spec decode16!(binary, case: decode_case) :: binary
344344
def decode16!(string, opts \\ [])
345345

346346
def decode16!(string, opts) when is_binary(string) and rem(byte_size(string), 2) == 0 do

0 commit comments

Comments
 (0)