mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 12:29:21 +00:00
Use arrayvec 0.6
This commit is contained in:
parent
59fdd7c84c
commit
9787bddac5
8 changed files with 20 additions and 20 deletions
|
@ -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()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue