Skip to content

Conversation

tweber12
Copy link
Contributor

All of the examples were still using core:: instead of std:: and needed a use std::rand; at the top to compile
Most of the examples had
rng = rand::rng();
instead of
let mut rng = rand::rng();

The examples were still using `core::` instead of `std::`
All of the examples needed a `use std::rand;` at the top to compile
Most of the examples had
    `rng = rand::rng();`
instead of
    `let mut rng = rand::rng();`
bors added a commit that referenced this pull request Jul 11, 2013
All of the examples were still using `core::` instead of `std::` and  needed a `use std::rand;` at the top to compile
Most of the examples had
    `rng = rand::rng();`
instead of
    `let mut rng = rand::rng();`
@bors bors closed this Jul 11, 2013
@bors bors merged commit 3cb3d75 into rust-lang:master Jul 11, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request Sep 28, 2021
Expand box_vec lint to box_collection

fixed rust-lang#7451

changelog: Expand `box_vec` into [`box_collection`], and have it error on all sorts of boxed collections
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants