book icon indicating copy to clipboard operation
book copied to clipboard

Spurious sentence in book text

Open StefanSalewski opened this issue 2 years ago • 1 comments
trafficstars

The sentence is:

Otherwise, by default, Cargo will only look for versions greater than 0.8.5 and less than 0.9.0.

As discussed in https://users.rust-lang.org/t/cargo-explanation-confusing-in-official-rust-book/102764/2 it would be a good idea to just remove it.

StefanSalewski avatar Nov 19 '23 19:11 StefanSalewski

The sentence here is mostly just very far away from the context which makes it make sense (a dozen paragraphs earlier!), but you’re right that it is also slightly confused! It should probably be rephrased, rather than dropped. Instead of “Otherwise, by default, …” we could have something like “With rand = "0.8.5" in Cargo.toml, …” and the rest of the sentence works.

chriskrycho avatar Mar 29 '24 14:03 chriskrycho