chore: use std::future::Future instead

This commit is contained in:
Jonathan Kelley committed 2022-11-09 11:02:52 -08:00
1 parent f5bc137f01
commit f7df6a9893
10 files changed
+26 -54

No files matched your search

+3 -2
View File
@@ -2,12 +2,13 @@ use std::{
any::{Any, TypeId},
cell::{Cell, RefCell},
collections::{HashMap, HashSet},
rc::Rc,
sync::Arc,
};
use bumpalo::Bump;
use futures_channel::mpsc::UnboundedSender;
use futures_util::Future;
use std::future::Future;
use crate::{
any_props::AnyProps,
@@ -60,7 +61,7 @@ pub struct ScopeState {
pub(crate) shared_contexts: RefCell<HashMap<TypeId, Box<dyn Any>>>,
pub(crate) tasks: Scheduler,
pub(crate) tasks: Rc<Scheduler>,
pub(crate) spawned_tasks: HashSet<TaskId>,
pub(crate) props: *mut dyn AnyProps<'static>,