mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-31 22:41:50 +00:00
e7ee8230ce
`Resolver::next_node_id` converts a `u32` to a `usize` (which is possibly bigger), does a checked add, and then converts the result back to a `u32`. The `usize` conversion completely subverts the checked add! This commit removes the conversion to/from `usize`. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |