Wrong sentence in the book, chapter 2

The wrong sentence seems to be this one: “Ultimately, we want to convert the String the program reads as input into a real number type so we can compare it numerically to the guess.” I think it should be something like this: “Ultimately, we want to convert the String the program reads as input into a real number type so we can compare it numerically to the secret number.”

Yep, this has been fixed in master but hasn’t made it to doc.rust-lang.org/book yet. Thanks!

2 Likes

Cool, thank you.