aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src/io_lib_fread.erl
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2012-12-31 15:24:44 +0100
committerHans Bolinder <[email protected]>2013-01-02 10:15:18 +0100
commit6f86a3a6ba3b975016aab80b3f5b3f2807304b24 (patch)
tree789b7b4073d8ed48d3fa2dcae10470046c4543eb /lib/stdlib/src/io_lib_fread.erl
parent4b42bf9358eca2c4597837e87dd10e49c1b60bc7 (diff)
downloadotp-6f86a3a6ba3b975016aab80b3f5b3f2807304b24.tar.gz
otp-6f86a3a6ba3b975016aab80b3f5b3f2807304b24.tar.bz2
otp-6f86a3a6ba3b975016aab80b3f5b3f2807304b24.zip
Improve and correct contracts and types of the IO modules
Diffstat (limited to 'lib/stdlib/src/io_lib_fread.erl')
-rw-r--r--lib/stdlib/src/io_lib_fread.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stdlib/src/io_lib_fread.erl b/lib/stdlib/src/io_lib_fread.erl
index ded1346097..84d4b8bba0 100644
--- a/lib/stdlib/src/io_lib_fread.erl
+++ b/lib/stdlib/src/io_lib_fread.erl
@@ -43,7 +43,7 @@
| {'done', Result, LeftOverChars :: string()},
Result :: {'ok', InputList :: io_lib:chars()}
| 'eof'
- | {'error', What :: term()}.
+ | {'error', What :: io_lib:fread_error()}.
fread([], Chars, Format) ->
%%io:format("FREAD: ~w `~s'~n", [Format,Chars]),