aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src/io_lib_fread.erl
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2018-01-19 10:37:06 +0100
committerHans Bolinder <[email protected]>2018-01-22 15:28:51 +0100
commita92b77d7cd19947bd3896dcd96c7e389efdec2de (patch)
tree1df1ef37f818785ef87c8bf567089ff55c93c2b7 /lib/stdlib/src/io_lib_fread.erl
parentbd873955db32c470f082c3629627a10c84c9c208 (diff)
downloadotp-a92b77d7cd19947bd3896dcd96c7e389efdec2de.tar.gz
otp-a92b77d7cd19947bd3896dcd96c7e389efdec2de.tar.bz2
otp-a92b77d7cd19947bd3896dcd96c7e389efdec2de.zip
stdlib: Correct contracts
Diffstat (limited to 'lib/stdlib/src/io_lib_fread.erl')
-rw-r--r--lib/stdlib/src/io_lib_fread.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/stdlib/src/io_lib_fread.erl b/lib/stdlib/src/io_lib_fread.erl
index 983e8d4566..319bff484e 100644
--- a/lib/stdlib/src/io_lib_fread.erl
+++ b/lib/stdlib/src/io_lib_fread.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 1996-2017. All Rights Reserved.
+%% Copyright Ericsson AB 1996-2018. All Rights Reserved.
%%
%% Licensed under the Apache License, Version 2.0 (the "License");
%% you may not use this file except in compliance with the License.
@@ -38,7 +38,7 @@
-spec fread(Continuation, String, Format) -> Return when
Continuation :: io_lib:continuation() | [],
- String :: string(),
+ String :: string() | 'eof',
Format :: string(),
Return :: {'more', Continuation1 :: io_lib:continuation()}
| {'done', Result, LeftOverChars :: string()},