aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src
diff options
context:
space:
mode:
authorBruce Yinhe <[email protected]>2014-12-18 15:09:28 +0100
committerBruce Yinhe <[email protected]>2014-12-18 15:09:28 +0100
commit61a997e4574556393fc6c76319bf741c14be690f (patch)
tree0e3e1e99ce8492edb150349766ba24b04b02d734 /lib/stdlib/src
parent134d058112f81629b1ab556711ca1dc1a5a6c952 (diff)
parent7cf95c33a50a705c38226bccd0caa76a96f92ea5 (diff)
downloadotp-61a997e4574556393fc6c76319bf741c14be690f.tar.gz
otp-61a997e4574556393fc6c76319bf741c14be690f.tar.bz2
otp-61a997e4574556393fc6c76319bf741c14be690f.zip
Merge branch 'maint'
Diffstat (limited to 'lib/stdlib/src')
-rw-r--r--lib/stdlib/src/binary.erl8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/stdlib/src/binary.erl b/lib/stdlib/src/binary.erl
index b94829892d..de26784ead 100644
--- a/lib/stdlib/src/binary.erl
+++ b/lib/stdlib/src/binary.erl
@@ -89,9 +89,9 @@ copy(_, _) ->
decode_unsigned(_) ->
erlang:nif_error(undef).
--spec decode_unsigned(Subject, Endianess) -> Unsigned when
+-spec decode_unsigned(Subject, Endianness) -> Unsigned when
Subject :: binary(),
- Endianess :: big | little,
+ Endianness :: big | little,
Unsigned :: non_neg_integer().
decode_unsigned(_, _) ->
@@ -103,9 +103,9 @@ decode_unsigned(_, _) ->
encode_unsigned(_) ->
erlang:nif_error(undef).
--spec encode_unsigned(Unsigned, Endianess) -> binary() when
+-spec encode_unsigned(Unsigned, Endianness) -> binary() when
Unsigned :: non_neg_integer(),
- Endianess :: big | little.
+ Endianness :: big | little.
encode_unsigned(_, _) ->
erlang:nif_error(undef).