mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-24 11:01:54 +00:00
Remove unused context variable
This commit is contained in:
parent
cbd9e186b5
commit
f5d4e26799
2 changed files with 4 additions and 1 deletions
|
@ -1161,7 +1161,6 @@ impl MutableAppContext {
|
||||||
keystroke: &Keystroke,
|
keystroke: &Keystroke,
|
||||||
) -> Result<bool> {
|
) -> Result<bool> {
|
||||||
let mut context_chain = Vec::new();
|
let mut context_chain = Vec::new();
|
||||||
let mut context = keymap::Context::default();
|
|
||||||
for view_id in &responder_chain {
|
for view_id in &responder_chain {
|
||||||
if let Some(view) = self.cx.views.get(&(window_id, *view_id)) {
|
if let Some(view) = self.cx.views.get(&(window_id, *view_id)) {
|
||||||
context_chain.push(view.keymap_context(self.as_ref()));
|
context_chain.push(view.keymap_context(self.as_ref()));
|
||||||
|
|
4
test.md
Normal file
4
test.md
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
one
|
||||||
|
|
||||||
|
* twooas
|
||||||
|
|
Loading…
Reference in a new issue