fix some unused items

This commit is contained in:
Evan Almloff committed 2024-01-19 15:38:51 -06:00
1 parent 6444559a66
commit 08475af221
2 files changed
+2 -3

No files matched your search

+1 -2
View File
@@ -1,4 +1,3 @@
use std::cell::{RefCell, RefMut};
use std::{ use std::{
any::Any, any::Any,
collections::HashSet, collections::HashSet,
@@ -17,7 +16,7 @@ use crate::{
/// An error that can occur when navigating. /// An error that can occur when navigating.
#[derive(Debug, Clone)] #[derive(Debug, Clone)]
pub struct ExternalNavigationFailure(String); pub struct ExternalNavigationFailure(pub String);
/// A function the router will call after every routing update. /// A function the router will call after every routing update.
pub(crate) type RoutingCallback<R> = pub(crate) type RoutingCallback<R> =
+1 -1
View File
@@ -13,7 +13,7 @@ use dioxus_core::{
}; };
use generational_box::{GenerationalRef, GenerationalRefMut}; 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 /// A signal that can be accessed from anywhere in the application and created in a static
pub struct GlobalSignal<T> { pub struct GlobalSignal<T> {