mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-23 04:33:06 +00:00
fix some lints
This commit is contained in:
parent
894e3bf6b5
commit
b6ade84ea6
5 changed files with 3 additions and 10 deletions
|
@ -1,7 +1,6 @@
|
|||
use crate::desktop_context::{DesktopContext, UserWindowEvent};
|
||||
use crate::events::IpcMessage;
|
||||
use dioxus_core::*;
|
||||
use dioxus_html::{Html, HtmlEvent};
|
||||
use dioxus_html::HtmlEvent;
|
||||
use futures_channel::mpsc::{unbounded, UnboundedReceiver, UnboundedSender};
|
||||
use futures_util::StreamExt;
|
||||
#[cfg(target_os = "ios")]
|
||||
|
|
|
@ -1,10 +1,6 @@
|
|||
//! Convert a serialized event to an event trigger
|
||||
|
||||
use dioxus_html::events::*;
|
||||
use serde::{Deserialize, Serialize};
|
||||
use serde_json::from_value;
|
||||
use std::any::Any;
|
||||
use std::rc::Rc;
|
||||
|
||||
#[derive(Deserialize, Serialize, Debug)]
|
||||
pub(crate) struct IpcMessage {
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
use std::any::Any;
|
||||
|
||||
use dioxus_core::Event;
|
||||
|
||||
use crate::MouseData;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
use std::{collections::HashMap, fmt::Debug, sync::Arc};
|
||||
use std::{collections::HashMap, fmt::Debug};
|
||||
|
||||
use dioxus_core::Event;
|
||||
|
||||
|
|
|
@ -115,7 +115,7 @@ fn test_back_and_forth() {
|
|||
}
|
||||
"#;
|
||||
|
||||
let p: HtmlEvent = serde_json::from_str(o).unwrap();
|
||||
let _: HtmlEvent = serde_json::from_str(o).unwrap();
|
||||
}
|
||||
|
||||
// pub fn decode_event(value: ) -> Option<Rc<dyn Any>> {
|
||||
|
|
Loading…
Reference in a new issue