aboutsummaryrefslogtreecommitdiff
path: root/src/str.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/str.erl')
-rw-r--r--src/str.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/str.erl b/src/str.erl
index bbf0d6a6e..07a5d09d5 100644
--- a/src/str.erl
+++ b/src/str.erl
@@ -289,7 +289,7 @@ format(Format, Args) ->
iolist_to_binary(io_lib:format(Format, Args)).
--spec sha(binary()) -> binary().
+-spec sha(iodata()) -> binary().
sha(Text) ->
Bin = crypto:hash(sha, Text),