Skip to content

Commit 85b7684

Browse files
committed
Fix sample .iex file in the doc
1 parent f688899 commit 85b7684

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/iex/lib/iex.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ defmodule IEx do
6767
6868
Sample contents of a local .iex file:
6969
70-
# source another .iex file, ~/.iex in this case
71-
Code.require_file ".iex", "~"
70+
# source another .iex file
71+
import_file "~/.iex"
7272
7373
# print something before the shell starts
7474
IO.puts "hello world"

0 commit comments

Comments
 (0)