aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src/binary.erl
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2017-01-24 15:10:55 +0100
committerRickard Green <[email protected]>2017-02-06 19:54:49 +0100
commit3bdb334a95e9dd49c1ada55b6f442099fdf7f72b (patch)
tree56a5f2086c2097082b190284832dbdcfeed8a129 /lib/stdlib/src/binary.erl
parent94df64424e41952d340c0082c70f79e6b6dbabd3 (diff)
downloadotp-3bdb334a95e9dd49c1ada55b6f442099fdf7f72b.tar.gz
otp-3bdb334a95e9dd49c1ada55b6f442099fdf7f72b.tar.bz2
otp-3bdb334a95e9dd49c1ada55b6f442099fdf7f72b.zip
Use magic refs for binary compile patterns
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 ccc827ca2d..45666fbcb4 100644
--- a/lib/stdlib/src/binary.erl
+++ b/lib/stdlib/src/binary.erl
@@ -24,7 +24,7 @@
-export_type([cp/0]).
--opaque cp() :: {'am' | 'bm', binary()}.
+-opaque cp() :: {'am' | 'bm', reference()}.
-type part() :: {Start :: non_neg_integer(), Length :: integer()}.
%%% BIFs.