Skip to content

Commit

Permalink
chore: cargo clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
marc2332 committed Sep 11, 2024
1 parent 27656fe commit febff17
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
5 changes: 1 addition & 4 deletions crates/hooks/src/use_init_native_platform.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,7 @@ pub fn use_init_native_platform() -> UsePlatformEvents {
#[cfg(test)]
mod test {
use freya::prelude::*;
use freya_core::{
accessibility::ACCESSIBILITY_ROOT_ID,
events::EventName,
};
use freya_core::accessibility::ACCESSIBILITY_ROOT_ID;
use freya_testing::prelude::*;

#[tokio::test]
Expand Down
5 changes: 1 addition & 4 deletions crates/hooks/tests/use_animation.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
use std::time::Duration;

use dioxus_core::use_hook;
use freya::{
events::pointer::MouseButton,
prelude::*,
};
use freya::prelude::*;
use freya_engine::prelude::Color;
use freya_node_state::{
Fill,
Expand Down

0 comments on commit febff17

Please sign in to comment.