fix some unused items

This commit is contained in:
Evan Almloff 2024-01-19 15:38:51 -06:00
parent 6444559a66
commit 08475af221
2 changed files with 2 additions and 3 deletions

View file

@ -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> =

View file

@ -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> {