fix build error

This commit is contained in:
Kay Simmons 2023-02-13 14:12:43 -08:00
parent 327932ba3b
commit 2c9199fd32
4 changed files with 37 additions and 1 deletions

View file

@ -1219,7 +1219,7 @@ impl MutableAppContext {
.bindings_for_action_type(action.as_any().type_id())
.find_map(|b| {
if b.match_context(&contexts) {
b.keystrokes().map(|s| s.into())
Some(b.keystrokes().into())
} else {
None
}