Use arrayvec 0.6

This commit is contained in:
Laurențiu Nicola 2021-03-25 21:03:20 +02:00
parent 59fdd7c84c
commit 9787bddac5
8 changed files with 20 additions and 20 deletions

View file

@ -2238,7 +2238,7 @@ pub enum ScopeDef {
}
impl ScopeDef {
pub fn all_items(def: PerNs) -> ArrayVec<[Self; 3]> {
pub fn all_items(def: PerNs) -> ArrayVec<Self, 3> {
let mut items = ArrayVec::new();
match (def.take_types(), def.take_values()) {