aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src/binary.erl
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2012-10-08 08:41:11 +0200
committerHans Bolinder <[email protected]>2012-10-08 08:41:11 +0200
commitaead007ef22abb50d8cfbd0a58eb9f41fbb2f363 (patch)
treedbb341600c811826a41f03e1164498eb917a57de /lib/stdlib/src/binary.erl
parent13348e02f5aac5509e3b7ef0ea4142e25c472b1d (diff)
parentf1301581ce83ce80426d3fcf09cf12f8527a458b (diff)
downloadotp-aead007ef22abb50d8cfbd0a58eb9f41fbb2f363.tar.gz
otp-aead007ef22abb50d8cfbd0a58eb9f41fbb2f363.tar.bz2
otp-aead007ef22abb50d8cfbd0a58eb9f41fbb2f363.zip
Merge branch 'hb/stdlib/opaque_warnings/OTP-10436'
* hb/stdlib/opaque_warnings/OTP-10436: Fix Dialyzer warnings
Diffstat (limited to 'lib/stdlib/src/binary.erl')
-rw-r--r--lib/stdlib/src/binary.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/stdlib/src/binary.erl b/lib/stdlib/src/binary.erl
index 1ed3422bc5..41b6ab1d5f 100644
--- a/lib/stdlib/src/binary.erl
+++ b/lib/stdlib/src/binary.erl
@@ -21,6 +21,8 @@
%% Implemented in this module:
-export([split/2,split/3,replace/3,replace/4]).
+-export_type([cp/0]).
+
-opaque cp() :: {'am' | 'bm', binary()}.
-type part() :: {Start :: non_neg_integer(), Length :: integer()}.