fix: resolve clippy warnings
This commit is contained in:
1 parent
6dc9da3398
commit
e22f4ad6cf
2 files changed
+2
-2
No files matched your search
@@ -9,7 +9,7 @@ pub type DragEvent = Event<DragData>;
|
|||||||
/// (such as another DOM element). Applications are free to interpret a drag and drop interaction in an
|
/// (such as another DOM element). Applications are free to interpret a drag and drop interaction in an
|
||||||
/// application-specific way.
|
/// application-specific way.
|
||||||
#[cfg_attr(feature = "serialize", derive(serde::Serialize, serde::Deserialize))]
|
#[cfg_attr(feature = "serialize", derive(serde::Serialize, serde::Deserialize))]
|
||||||
#[derive(Debug, Clone, PartialEq)]
|
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||||
pub struct DragData {
|
pub struct DragData {
|
||||||
/// Inherit mouse data
|
/// Inherit mouse data
|
||||||
pub mouse: MouseData,
|
pub mouse: MouseData,
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ pub type MouseEvent = Event<MouseData>;
|
|||||||
|
|
||||||
/// A synthetic event that wraps a web-style [`MouseEvent`](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent)
|
/// A synthetic event that wraps a web-style [`MouseEvent`](https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent)
|
||||||
#[cfg_attr(feature = "serialize", derive(serde::Serialize, serde::Deserialize))]
|
#[cfg_attr(feature = "serialize", derive(serde::Serialize, serde::Deserialize))]
|
||||||
#[derive(Clone, Default, PartialEq)]
|
#[derive(Clone, Default, PartialEq, Eq)]
|
||||||
/// Data associated with a mouse event
|
/// Data associated with a mouse event
|
||||||
///
|
///
|
||||||
/// Do not use the deprecated fields; they may change or become private in the future.
|
/// Do not use the deprecated fields; they may change or become private in the future.
|
||||||
|
|||||||
Reference in new issue
Block a user