Skip to content

Commit f66206b

Browse files
author
José Valim
committed
s/on/in
1 parent 28211b2 commit f66206b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/elixir/lib/file.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ defmodule File do
6262
6363
In order to write and read files, one must use the
6464
functions in the IO module. By default, a file is
65-
opened on binary mode which requires the functions
65+
opened in binary mode which requires the functions
6666
`IO.binread`, `IO.binwrite` and `IO.binreadline` to
6767
interact with the file. A developer may pass `:utf8`
6868
as an option when opening the file and then all other
@@ -713,7 +713,7 @@ defmodule File do
713713
Opens the given `path` according to the given list of modes.
714714
715715
In order to write and read files, one must use the functions
716-
in the IO module. By default, a file is opened on binary mode
716+
in the IO module. By default, a file is opened in binary mode
717717
which requires the functions `IO.binread`, `IO.binwrite` and
718718
`IO.binreadline` to interact with the file. A developer may pass
719719
`:utf8` as an option when opening the file and then all other

0 commit comments

Comments
 (0)