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

fixed a typo in the reference to the example #3776

Closed
wants to merge 1 commit into from

Conversation

mcmoodoo
Copy link

No description provided.

@carols10cents
Copy link
Member

No, Listing 1-1 is correct. Listing 1-2 is the Cargo.toml; this text is talking about the "Hello, world" Rust code. Thanks though!

@mcmoodoo
Copy link
Author

@carols10cents,

Oh, I think there's a bit of confusion here.

I was trying to fix the reference to a section. For instance, this paragraph refers to listing 1.1:
image

But, in reality, the "Hello World" program is in section 1.2:

image

Please, correct me if I am wrong.

However, if I got confused by this, an average user is more likely to.

@carols10cents
Copy link
Member

"Listing" means a caption of a code example, not a section in the sidebar.

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

Successfully merging this pull request may close these issues.

2 participants