mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-24 17:28:40 +00:00
fix clippy unused for macos
This commit is contained in:
parent
1b9259619f
commit
c71ce50bcc
2 changed files with 7 additions and 3 deletions
|
@ -168,10 +168,12 @@ impl ApplicationMenu {
|
|||
})
|
||||
}
|
||||
|
||||
#[cfg(not(target_os = "macos"))]
|
||||
pub fn open_menu(&mut self, action: &OpenApplicationMenu, _cx: &mut ViewContext<Self>) {
|
||||
self.pending_menu_open = Some(action.0.clone());
|
||||
}
|
||||
|
||||
#[cfg(not(target_os = "macos"))]
|
||||
pub fn navigate_menus_in_direction(
|
||||
&mut self,
|
||||
action: &NavigateApplicationMenuInDirection,
|
||||
|
|
|
@ -6,9 +6,11 @@ mod window_controls;
|
|||
#[cfg(feature = "stories")]
|
||||
mod stories;
|
||||
|
||||
use crate::application_menu::{
|
||||
ApplicationMenu, NavigateApplicationMenuInDirection, OpenApplicationMenu,
|
||||
};
|
||||
use crate::application_menu::ApplicationMenu;
|
||||
|
||||
#[cfg(not(target_os = "macos"))]
|
||||
use crate::application_menu::{NavigateApplicationMenuInDirection, OpenApplicationMenu};
|
||||
|
||||
use crate::platforms::{platform_linux, platform_mac, platform_windows};
|
||||
use auto_update::AutoUpdateStatus;
|
||||
use call::ActiveCall;
|
||||
|
|
Loading…
Reference in a new issue