diff options
author | Dwi Prihandi <dwi@prihandi.com> | 2021-12-27 16:30:58 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-27 10:30:58 +0100 |
commit | fd135405a4b7d8aa17bac5bcebd41d7ea7e6ac90 (patch) | |
tree | c40c30d47dc17b442ce7a4ca903248d60fcfb3b6 | |
parent | 73d3f7dcb7c0e71f98dfd2a5c6e5cfb120b5c714 (diff) | |
download | elixir-fd135405a4b7d8aa17bac5bcebd41d7ea7e6ac90.tar.gz |
Fix typespec on Base.decode16! (#11526)
-rw-r--r-- | lib/elixir/lib/base.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/elixir/lib/base.ex b/lib/elixir/lib/base.ex index 75339b585..5363e1520 100644 --- a/lib/elixir/lib/base.ex +++ b/lib/elixir/lib/base.ex @@ -340,7 +340,7 @@ defmodule Base do "foobar" """ - @spec decode16!(binary, case: encode_case) :: binary + @spec decode16!(binary, case: decode_case) :: binary def decode16!(string, opts \\ []) def decode16!(string, opts) when is_binary(string) and rem(byte_size(string), 2) == 0 do |