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

Add extern crate rand to Guessing Game code blocks #1675

Closed

Conversation

varunvats
Copy link

There's a reference to the extern crate rand statement in the paragraph following the code block in which it is intended to be introduced, but the statement itself is missing in the code block. Update this code block and others that should have this statement.

There's a reference to the `extern crate rand` statement in the
paragraph following the code block in which it is intended to be
introduced, but the statement itself is missing in the code
block. Update this code block and others that should have this
statement.
@varunvats varunvats force-pushed the guessing-game-extern-crate branch from 085cc90 to d70af74 Compare December 9, 2018 15:32
@varunvats varunvats changed the title Add extern crate to Guessing Game code blocks Add extern crate rand to Guessing Game code blocks Dec 9, 2018
@carols10cents
Copy link
Member

With Rust 1.31 and edition="2018", the extern crate is no longer needed, so the code is as intended and we need to remove the paragraph following that code (#1662). Thanks!

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