diff options
author | Hans Bolinder <[email protected]> | 2012-12-31 15:24:44 +0100 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2013-01-02 10:15:18 +0100 |
commit | 6f86a3a6ba3b975016aab80b3f5b3f2807304b24 (patch) | |
tree | 789b7b4073d8ed48d3fa2dcae10470046c4543eb /lib/stdlib/src/io_lib_fread.erl | |
parent | 4b42bf9358eca2c4597837e87dd10e49c1b60bc7 (diff) | |
download | otp-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.erl | 2 |
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]), |