mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-04 19:28:29 +00:00

When encountering code like `Box(42)`, suggest `Box::new(42)` and *all* other associated functions that return `-> Box<T>`.
When encountering code like `Box(42)`, suggest `Box::new(42)` and *all* other associated functions that return `-> Box<T>`.