Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Guide: filename mismatch in Section 2 Hello, world! #17243

Closed
LyoNick opened this issue Sep 13, 2014 · 3 comments
Closed

Guide: filename mismatch in Section 2 Hello, world! #17243

LyoNick opened this issue Sep 13, 2014 · 3 comments

Comments

@LyoNick
Copy link

LyoNick commented Sep 13, 2014

in guide.md section 2
code example should refer either to main OR hello_word
but mixing them in a single example make no sense i.e:

$ rustc main.rs
$ ./hello_world # or hello_world.exe on Windows

either use the prev chosen name
$ ./main # or main.exe on Windows
OR
$ rustc hello_world.rs
(and change the prev chosen file name)

same mistake is repeated all over the section

@steveklabnik
Copy link
Member

Ah! Good call! You fix one bug and make another...

@frewsxcv
Copy link
Member

@alexcrichton
Copy link
Member

Thanks @frewsxcv!

lnicola pushed a commit to lnicola/rust that referenced this issue May 19, 2024
internal: Add StaticLifetime to hir API
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants