- I have searched open and closed issues and pull requests for duplicates, using these search terms:
cargo build
chapter 2 "Rust 1."
"2-2"
- I have checked the latest
main branch to see if this has already been fixed, in this file:
URL to the section(s) of the book with this problem:
Description of the problem:
Per the title page
This version of the text assumes you’re using Rust 1.90.0
but in listing 2-2, we see (first few lines)
$ cargo build
Updating crates.io index
Locking 15 packages to latest Rust 1.85.0 compatible versions
Adding rand v0.8.5 (available: v0.9.0)
which refers to an older version of rust
Suggested fix:
- update listing 2-2 to reflect output when running with rust 1.90.0
I was also going to suggest that the section be marked with manual-regeneration to avoid this in the future but it seems that it already is marked as such, I guess it might have just been missed
cargo buildchapter 2 "Rust 1.""2-2"mainbranch to see if this has already been fixed, in this file:URL to the section(s) of the book with this problem:
Description of the problem:
Per the title page
but in listing 2-2, we see (first few lines)
which refers to an older version of rust
Suggested fix:
I was also going to suggest that the section be marked with
manual-regenerationto avoid this in the future but it seems that it already is marked as such, I guess it might have just been missed