Skip to content

Commit 7fdec32

Browse files
authored
Merge pull request #127 from ronen/patch-1
Fix filenames in example `rustc` command
2 parents a9c75de + b672c71 commit 7fdec32

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hello-world.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@ you do the latter, you should be greeted in the console. Success!
9898

9999
Cargo will have made a `target` directory and put the executable in there.
100100

101-
If you want to use the compiler directly you can run `rustc src/hello.rs` which
102-
will create an executable called `hello`. See `rustc --help` for lots of
101+
If you want to use the compiler directly you can run `rustc src/main.rs` which
102+
will create an executable called `main`. See `rustc --help` for lots of
103103
options.
104104

105105
OK, back to the code. A few interesting points - we use `fn` to define a

0 commit comments

Comments
 (0)