mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-28 17:53:56 +00:00
17d3277064
Fixing memory exhaustion when formatting short code suggestion Details can be found in issue #76597. This PR replaces substractions with `saturating_sub`'s to avoid usize wrapping leading to memory exhaustion when formatting short suggestion messages. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |