aboutsummaryrefslogtreecommitdiffstats
path: root/erts
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2017-04-21 14:53:52 +0200
committerLukas Larsson <[email protected]>2017-04-25 14:16:38 +0200
commitab048d66c59fa827bf4129fc95bec21488a931a4 (patch)
tree743a89fa7cc06ff070cb60f98241a2c5d0053c35 /erts
parenteece23d7f6b225a6abc3807f9af44d1f742f7eee (diff)
downloadotp-ab048d66c59fa827bf4129fc95bec21488a931a4.tar.gz
otp-ab048d66c59fa827bf4129fc95bec21488a931a4.tar.bz2
otp-ab048d66c59fa827bf4129fc95bec21488a931a4.zip
erts: Auto-import port_to_list for consistency
Follow the same pattern as pid_to_list
Diffstat (limited to 'erts')
-rw-r--r--erts/preloaded/src/erlang.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/preloaded/src/erlang.erl b/erts/preloaded/src/erlang.erl
index 12b8afb53e..31ea683ff1 100644
--- a/erts/preloaded/src/erlang.erl
+++ b/erts/preloaded/src/erlang.erl
@@ -1337,7 +1337,7 @@ pid_to_list(_Pid) ->
erlang:nif_error(undefined).
%% port_to_list/1
--spec erlang:port_to_list(Port) -> string() when
+-spec port_to_list(Port) -> string() when
Port :: port().
port_to_list(_Port) ->
erlang:nif_error(undefined).
@@ -1547,7 +1547,7 @@ read_timer(_TimerRef, _Options) ->
erlang:nif_error(undefined).
%% ref_to_list/1
--spec erlang:ref_to_list(Ref) -> string() when
+-spec ref_to_list(Ref) -> string() when
Ref :: reference().
ref_to_list(_Ref) ->
erlang:nif_error(undefined).