aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src/binary.erl
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2012-09-28 09:12:43 +0200
committerHans Bolinder <[email protected]>2012-09-28 09:12:43 +0200
commitcccf365a9991a61029ef710046e11bbb78171e25 (patch)
treef735889b01a1d784f7d00e0df3632071fef02809 /lib/stdlib/src/binary.erl
parent6eb52d69372f427cccb275e5330f4634a96a21c5 (diff)
parent6674cff5db0c281d309723f25106dd84c33246b1 (diff)
downloadotp-cccf365a9991a61029ef710046e11bbb78171e25.tar.gz
otp-cccf365a9991a61029ef710046e11bbb78171e25.tar.bz2
otp-cccf365a9991a61029ef710046e11bbb78171e25.zip
Merge branch 'hb/stdlib/opaque_warnings/OTP-10436'
* hb/stdlib/opaque_warnings/OTP-10436: Refine a few opaque types Warn for underspecified opaque types Warn for opaque types that are not exported
Diffstat (limited to 'lib/stdlib/src/binary.erl')
-rw-r--r--lib/stdlib/src/binary.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stdlib/src/binary.erl b/lib/stdlib/src/binary.erl
index 0e95372a76..1ed3422bc5 100644
--- a/lib/stdlib/src/binary.erl
+++ b/lib/stdlib/src/binary.erl
@@ -21,7 +21,7 @@
%% Implemented in this module:
-export([split/2,split/3,replace/3,replace/4]).
--opaque cp() :: tuple().
+-opaque cp() :: {'am' | 'bm', binary()}.
-type part() :: {Start :: non_neg_integer(), Length :: integer()}.
%%% BIFs.