Skip to content

Commit 0e872d3

Browse files
committed
Cleanup
1 parent c068671 commit 0e872d3

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

src/ast/mod.rs

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,17 @@
1-
use std::any::{Any, TypeId};
2-
use std::borrow::Cow;
1+
use std::any::Any;
32
use std::path::PathBuf;
43
use std::pin::Pin;
5-
use std::{collections::HashMap, fmt::Display, fmt::Write, sync::Arc};
4+
use std::{collections::HashMap, fmt::Display, sync::Arc};
65

76
use crate::modules::{CommandRunner, InputEvent, InputRx, InputTx, Tap};
8-
use crate::{modules::SharedInputFut, util::FutureExt as _};
9-
use futures_util::future::{Join, join_all};
10-
use futures_util::{Stream, stream};
7+
use futures_util::Stream;
118
use indexmap::IndexMap;
129
use serde::{Deserialize, Serialize};
13-
use tokio::sync::broadcast::error::SendError;
1410
use tokio::sync::{Mutex, broadcast};
1511
use tokio::task::JoinHandle;
1612

1713
use crate::{
18-
modules::{Context, Input, InputFut},
14+
modules::{Context, Input},
1915
ts::MODULES,
2016
};
2117

@@ -357,7 +353,6 @@ impl Pipe {
357353
.get(key)
358354
.map(|x| &**x as &(dyn Any + Send + Sync))
359355
.and_then(|x| {
360-
println!("Command TypeId: {:?}", x.type_id());
361356
x.downcast_ref::<T>()
362357
})
363358
}

0 commit comments

Comments
 (0)