Remove warnigns
This commit is contained in:
parent
af7c93b8d5
commit
dd42adc4e5
14 changed files with 22 additions and 35 deletions
|
@ -8,7 +8,7 @@ use editor::{
|
|||
scroll::autoscroll::Autoscroll,
|
||||
Bias, DisplayPoint, Editor,
|
||||
};
|
||||
use gpui::{actions, AppContext, ViewContext, WindowContext};
|
||||
use gpui::{actions, ViewContext, WindowContext};
|
||||
use language::{Selection, SelectionGoal};
|
||||
use workspace::Workspace;
|
||||
|
||||
|
@ -34,7 +34,7 @@ actions!(
|
|||
]
|
||||
);
|
||||
|
||||
pub fn register(workspace: &mut Workspace, cx: &mut ViewContext<Workspace>) {
|
||||
pub fn register(workspace: &mut Workspace, _: &mut ViewContext<Workspace>) {
|
||||
workspace.register_action(|_, _: &ToggleVisual, cx: &mut ViewContext<Workspace>| {
|
||||
toggle_mode(Mode::Visual, cx)
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue