mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-23 12:43:08 +00:00
fix some unused items
This commit is contained in:
parent
6444559a66
commit
08475af221
2 changed files with 2 additions and 3 deletions
|
@ -1,4 +1,3 @@
|
|||
use std::cell::{RefCell, RefMut};
|
||||
use std::{
|
||||
any::Any,
|
||||
collections::HashSet,
|
||||
|
@ -17,7 +16,7 @@ use crate::{
|
|||
|
||||
/// An error that can occur when navigating.
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct ExternalNavigationFailure(String);
|
||||
pub struct ExternalNavigationFailure(pub String);
|
||||
|
||||
/// A function the router will call after every routing update.
|
||||
pub(crate) type RoutingCallback<R> =
|
||||
|
|
|
@ -13,7 +13,7 @@ use dioxus_core::{
|
|||
};
|
||||
use generational_box::{GenerationalRef, GenerationalRefMut};
|
||||
|
||||
use crate::{selector, MappedSignal, ReadOnlySignal, Signal, Write};
|
||||
use crate::{MappedSignal, ReadOnlySignal, Signal, Write};
|
||||
|
||||
/// A signal that can be accessed from anywhere in the application and created in a static
|
||||
pub struct GlobalSignal<T> {
|
||||
|
|
Loading…
Reference in a new issue