book icon indicating copy to clipboard operation
book copied to clipboard

no link to Listing 2-5

Open lengyijun opened this issue 3 years ago • 0 comments

https://doc.rust-lang.org/book/ch19-04-advanced-types.html#the-never-type-that-never-returns

But what use is a type you can never create values for? Recall the code from Listing 2-5, part of the number guessing game; we’ve reproduced a bit of it here in Listing 19-26.

There is no link to Listing 2-5

Suggested fix: Display the whole code (the for-loop code) Or add a link

lengyijun avatar Nov 17 '22 10:11 lengyijun