Skip to content

Commit

Permalink
Fix IO.binread docs
Browse files Browse the repository at this point in the history
Change 'characters' to 'data'.
  • Loading branch information
ericmj committed Jul 11, 2016
1 parent 3aa2c29 commit c7b4770
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/elixir/lib/io.ex
Original file line number Diff line number Diff line change
Expand Up @@ -92,13 +92,13 @@ defmodule IO do
@doc """
Reads from the IO `device`. The operation is Unicode unsafe.
The `device` is iterated by the given number of characters or line by line if
The `device` is iterated by the given number of data or line by line if
`:line` is given.
Alternatively, if `:all` is given, then whole `device` is returned.
It returns:
* `data` - the input characters
* `data` - the output data
* `:eof` - end of file was encountered
Expand Down

0 comments on commit c7b4770

Please sign in to comment.