mirror of
https://github.com/zed-industries/zed.git
synced 2025-02-10 12:19:28 +00:00
Clean up compiler warnings
Co-authored-by: Kyle <kyle@zed.dev>
This commit is contained in:
parent
8831e03eba
commit
822b1ec002
2 changed files with 4 additions and 4 deletions
|
@ -1426,7 +1426,7 @@ impl ProjectSearchBar {
|
|||
|
||||
fn toggle_search_option(&mut self, option: SearchOptions, cx: &mut ViewContext<Self>) -> bool {
|
||||
if let Some(search_view) = self.active_project_search.as_ref() {
|
||||
search_view.update(cx, |search_view, cx| {
|
||||
search_view.update(cx, |search_view, _cx| {
|
||||
search_view.toggle_search_option(option);
|
||||
});
|
||||
cx.notify();
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
use crate::{ItemHandle, Pane};
|
||||
use crate::ItemHandle;
|
||||
use gpui::{
|
||||
elements::*, platform::CursorStyle, platform::MouseButton, Action, AnyElement, AnyViewHandle,
|
||||
AppContext, Entity, View, ViewContext, ViewHandle, WeakViewHandle, WindowContext,
|
||||
elements::*, AnyElement, AnyViewHandle, AppContext, Entity, View, ViewContext, ViewHandle,
|
||||
WindowContext,
|
||||
};
|
||||
|
||||
pub trait ToolbarItemView: View {
|
||||
|
|
Loading…
Reference in a new issue