remove warns
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
		
							parent
							
								
									d2ff675fbc
								
							
						
					
					
						commit
						13bade262f
					
				| @ -14,8 +14,6 @@ use crossbeam_queue::ArrayQueue; | ||||
| use hbb_common::sleep; | ||||
| #[cfg(not(target_os = "ios"))] | ||||
| use hbb_common::tokio::sync::mpsc::error::TryRecvError; | ||||
| #[cfg(any(target_os = "windows", target_os = "linux", target_os = "macos"))] | ||||
| use hbb_common::tokio::sync::Mutex as TokioMutex; | ||||
| use hbb_common::{ | ||||
|     allow_err, | ||||
|     config::{PeerConfig, TransferSerde}, | ||||
| @ -34,8 +32,10 @@ use hbb_common::{ | ||||
|         sync::mpsc, | ||||
|         time::{self, Duration, Instant, Interval}, | ||||
|     }, | ||||
|     ResultType, Stream, | ||||
|     Stream, | ||||
| }; | ||||
| #[cfg(any(target_os = "windows", target_os = "linux", target_os = "macos"))] | ||||
| use hbb_common::{tokio::sync::Mutex as TokioMutex, ResultType}; | ||||
| use scrap::CodecFormat; | ||||
| 
 | ||||
| use crate::client::{ | ||||
|  | ||||
| @ -1,8 +1,11 @@ | ||||
| #[cfg(windows)] | ||||
| use crate::ipc::{connect, Data}; | ||||
| #[cfg(all(windows, feature = "virtual_display_driver"))] | ||||
| use crate::platform::is_installed; | ||||
| use crate::{display_service, ipc::PrivacyModeState, ui_interface::get_option}; | ||||
| #[cfg(windows)] | ||||
| use crate::{ | ||||
|     display_service, | ||||
|     ipc::{connect, Data}, | ||||
| }; | ||||
| use crate::{ipc::PrivacyModeState, ui_interface::get_option}; | ||||
| #[cfg(windows)] | ||||
| use hbb_common::tokio; | ||||
| use hbb_common::{anyhow::anyhow, bail, lazy_static, ResultType}; | ||||
|  | ||||
| @ -19,8 +19,6 @@ use crate::ipc::{self, Data}; | ||||
| use clipboard::ContextSend; | ||||
| #[cfg(not(any(target_os = "android", target_os = "ios")))] | ||||
| use hbb_common::tokio::sync::mpsc::unbounded_channel; | ||||
| #[cfg(any(target_os = "windows", target_os = "linux", target_os = "macos"))] | ||||
| use hbb_common::tokio::sync::Mutex as TokioMutex; | ||||
| use hbb_common::{ | ||||
|     allow_err, | ||||
|     config::Config, | ||||
| @ -34,8 +32,9 @@ use hbb_common::{ | ||||
|         sync::mpsc::{self, UnboundedSender}, | ||||
|         task::spawn_blocking, | ||||
|     }, | ||||
|     ResultType, | ||||
| }; | ||||
| #[cfg(any(target_os = "windows", target_os = "linux", target_os = "macos"))] | ||||
| use hbb_common::{tokio::sync::Mutex as TokioMutex, ResultType}; | ||||
| use serde_derive::Serialize; | ||||
| 
 | ||||
| #[derive(Serialize, Clone)] | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user