diff --git a/crates/gpui/src/keymap/context.rs b/crates/gpui/src/keymap/context.rs index 3dc8292a5f..2968f6909e 100644 --- a/crates/gpui/src/keymap/context.rs +++ b/crates/gpui/src/keymap/context.rs @@ -1,6 +1,5 @@ use crate::SharedString; use anyhow::{anyhow, Result}; -use smallvec::SmallVec; use std::fmt; /// A datastructure for resolving whether an action should be dispatched @@ -8,7 +7,7 @@ use std::fmt; /// and/or key value pairs representing the current context for the /// keymap. #[derive(Clone, Default, Eq, PartialEq, Hash)] -pub struct KeyContext(SmallVec<[ContextEntry; 1]>); +pub struct KeyContext(Vec); #[derive(Clone, Debug, Eq, PartialEq, Hash)] /// An entry in a KeyContext