aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2014-02-12 15:54:26 +0100
committerHans Bolinder <[email protected]>2014-02-12 15:54:26 +0100
commit1c98f25e9df6b5c2f5195d4c608d880e3d72c453 (patch)
tree671e42e9ef3065c9c2dd202d0cf30f2b473a25c9 /lib
parent152f1a4ba2f4e2f0dfbcde2efe5b5fd5edbdb986 (diff)
downloadotp-1c98f25e9df6b5c2f5195d4c608d880e3d72c453.tar.gz
otp-1c98f25e9df6b5c2f5195d4c608d880e3d72c453.tar.bz2
otp-1c98f25e9df6b5c2f5195d4c608d880e3d72c453.zip
[stdlib] Remove a confusing comment in the re module
The line %-opaque mp() :: {re_pattern, _, _, _, _}. has been removed. The mp() tuple is called 'opaque' in re(3), but it is not an opaque type. The out-commented -opaque declaration was confusing.
Diffstat (limited to 'lib')
-rw-r--r--lib/stdlib/src/re.erl3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/stdlib/src/re.erl b/lib/stdlib/src/re.erl
index afc63496d0..7f3cd8f592 100644
--- a/lib/stdlib/src/re.erl
+++ b/lib/stdlib/src/re.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 2008-2012. All Rights Reserved.
+%% Copyright Ericsson AB 2008-2014. All Rights Reserved.
%%
%% The contents of this file are subject to the Erlang Public License,
%% Version 1.1, (the "License"); you may not use this file except in
@@ -19,7 +19,6 @@
-module(re).
-export([grun/3,urun/3,ucompile/2,replace/3,replace/4,split/2,split/3]).
-%-opaque mp() :: {re_pattern, _, _, _, _}.
-type mp() :: {re_pattern, _, _, _, _}.
-type nl_spec() :: cr | crlf | lf | anycrlf | any.