- 
                Notifications
    You must be signed in to change notification settings 
- Fork 3.8k
Open
Description
Hello all! Thanks for this great work. I'm learning rust and this book is making things more fun and easier.
While reading chapter 2, in the guessing game example, we hace a section Updating a Crate to Get a New Version. In this section the version of rand is set for 0.9.0. The problem is that bellow this section, in the section Generating a Random Number, we'll build the guessing game code with rand 0.8.6 without specify this downgrade. The beginner reader will have problems, because in the updated 0.9.0 version the method thread_rng is deprecated.
Sugested fix:
- In the section Generating a Random Number we can specify the used rand version 0.8.6.
apollo7321, TSimkus, oscargicast, awhug and santtiagogp
Metadata
Metadata
Assignees
Labels
No labels