Bikeshed color query

In Rust, I want to create a vector of length `size.x` and I want to initialize every member to a new object of type SmolBitmap. Is there a cleaner/more idiomatic/"better" way of doing it than

let mut visited:Vec<_> = (0..size.x).map(|_|SmolBitmap::new()).collect();

0

If you have a fediverse account, you can quote this note from your own instance. Search https://mastodon.social/users/mcc/statuses/115753297870205321 on your instance and quote it. (Note that quoting is not supported in Mastodon.)