wip: reduce warnings
This commit is contained in:
1 parent
12afd2b0f2
commit
0ded32e184
7 files changed
+119
-124
No files matched your search
@@ -3,16 +3,18 @@
|
||||
//!
|
||||
//! 3rd party renderers are responsible for converting their native events into these virtual event types. Events might
|
||||
//! be heavy or need to interact through FFI, so the events themselves are designed to be lazy.
|
||||
use crate::innerlude::{ElementId, ScopeId};
|
||||
|
||||
use bumpalo::boxed::Box as BumpBox;
|
||||
use std::{any::Any, cell::RefCell, fmt::Debug, ops::Deref, rc::Rc};
|
||||
|
||||
use crate::{
|
||||
innerlude::NodeFactory,
|
||||
innerlude::{Attribute, Listener, VNode},
|
||||
innerlude::Listener,
|
||||
innerlude::{ElementId, NodeFactory, ScopeId},
|
||||
};
|
||||
use bumpalo::boxed::Box as BumpBox;
|
||||
use std::{
|
||||
any::Any,
|
||||
cell::{Cell, RefCell},
|
||||
fmt::Debug,
|
||||
ops::Deref,
|
||||
rc::Rc,
|
||||
};
|
||||
use std::cell::Cell;
|
||||
|
||||
#[derive(Debug)]
|
||||
pub struct UserEvent {
|
||||
@@ -832,7 +834,7 @@ pub mod on {
|
||||
}
|
||||
|
||||
// get the raw code
|
||||
fn raw_code(&self) -> u32 {
|
||||
pub fn raw_code(&self) -> u32 {
|
||||
*self as u32
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user