use vec![]

This commit is contained in:
Folkert 2022-04-30 21:21:14 +02:00
parent a5ec269a4d
commit d3f00c8c6d
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C

View file

@ -454,7 +454,7 @@ impl ScopedIdentIds {
Self {
in_scope: BitVec::repeat(false, capacity),
ident_ids,
regions: std::iter::repeat(Region::zero()).take(capacity).collect(),
regions: vec![Region::zero(); capacity],
home,
}
}