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

src/guessing_game.rs appears out of nowhere in the guide #16162

Closed
EduardoBautista opened this issue Aug 1, 2014 · 4 comments
Closed

src/guessing_game.rs appears out of nowhere in the guide #16162

EduardoBautista opened this issue Aug 1, 2014 · 4 comments
Labels
E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

Comments

@EduardoBautista
Copy link
Contributor

In chapter 5, in the compile error for the code let x;, it shows the source file as being src/guessing_game.rs although it has never been mentioned before in the guide.

Later in the chapter it says:

Let's try it out. Change your src/guessing_game.rs file to look like this:

At that point of the guide, there have not been any instructions to create a file by that name.

@steveklabnik
Copy link
Member

Ahhh yes. This is a typo that came when I re-organized the guessing game to be its own section later, rather than trying to build it along with the tutorial.

This should probably just be the hello world file instead.

@EduardoBautista
Copy link
Contributor Author

OK, was just making sure. Let me know if you want me to make the change if you're too busy.

@steveklabnik
Copy link
Member

If you have the time, please do!

@EduardoBautista
Copy link
Contributor Author

Change has been merged, safe to close I assume.

bors added a commit to rust-lang-ci/rust that referenced this issue Jan 3, 2024
bors added a commit to rust-lang-ci/rust that referenced this issue Jan 3, 2024
…ent, r=lnicola

minor: Optimizing Performance with `Promise.all` 🏎

Hello,

This pull request introduces a modest performance improvement by executing asynchronous tasks using `Promise.all`, thereby enhancing the efficient utilization of hardware resources.

Thank you for considering this enhancement.

Ref-: rust-lang#119108
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
Projects
None yet
Development

No branches or pull requests

2 participants