Remove compiler warning on non windows platforms

ParallelCommand was only used on windows but it was imported for every
distro
macos-click-through
jeremycostanzo 3 years ago committed by Keith Simmons
parent 5edd800d8c
commit 4e207fbd19

@ -8,7 +8,9 @@ use rmpv::Value;
use tokio::task; use tokio::task;
use super::events::{parse_redraw_event, RedrawEvent}; use super::events::{parse_redraw_event, RedrawEvent};
use super::ui_commands::{ParallelCommand, UiCommand}; #[cfg(windows)]
use super::ui_commands::ParallelCommand;
use super::ui_commands::UiCommand;
use crate::bridge::TxWrapper; use crate::bridge::TxWrapper;
use crate::channel_utils::*; use crate::channel_utils::*;
use crate::error_handling::ResultPanicExplanation; use crate::error_handling::ResultPanicExplanation;

Loading…
Cancel
Save