Skip to content

Commit

Permalink
style: fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
MingweiSamuel committed Feb 24, 2024
1 parent fdf472e commit b391447
Show file tree
Hide file tree
Showing 10 changed files with 3 additions and 13 deletions.
3 changes: 0 additions & 3 deletions hydroflow/src/scheduled/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,7 @@ where

#[cfg(test)]
mod test {
use std::marker::PhantomData;

use super::*;
use crate::scheduled::StateId;

#[test]
fn test_erasure() {
Expand Down
1 change: 0 additions & 1 deletion hydroflow/src/util/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ use std::num::NonZeroUsize;
use std::process::{Child, ChildStdin, ChildStdout, Stdio};
use std::task::{Context, Poll};

use bincode;
use futures::Stream;
use serde::de::DeserializeOwned;
use serde::ser::Serialize;
Expand Down
2 changes: 1 addition & 1 deletion hydroflow_datalog_core/src/join_plan.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use hydroflow_lang::graph::FlatGraphBuilder;
use hydroflow_lang::parse::Pipeline;
use proc_macro2::Span;
use rust_sitter::Spanned;
use syn::{self, parse_quote, parse_quote_spanned};
use syn::{parse_quote, parse_quote_spanned};

use crate::grammar::datalog::{BoolExpr, BoolOp, IdentOrUnderscore, InputRelationExpr, IntExpr};
use crate::util::{repeat_tuple, Counter};
Expand Down
1 change: 0 additions & 1 deletion hydroflow_plus_test/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
stageleft::stageleft_crate!(hydroflow_plus_test_macro);

use hydroflow_plus::futures::stream::Stream;
use hydroflow_plus::scheduled::graph::Hydroflow;
use hydroflow_plus::tokio::sync::mpsc::UnboundedSender;
use hydroflow_plus::tokio_stream::wrappers::UnboundedReceiverStream;
use hydroflow_plus::*;
Expand Down
1 change: 0 additions & 1 deletion hydroflow_plus_test/src/negation.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
use hydroflow_plus::scheduled::graph::Hydroflow;
use hydroflow_plus::tokio::sync::mpsc::UnboundedSender;
use hydroflow_plus::*;
use stageleft::{q, Quoted, RuntimeData};
Expand Down
1 change: 0 additions & 1 deletion hydroflow_plus_test/src/networked.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
use hydroflow_plus::bytes::BytesMut;
use hydroflow_plus::scheduled::graph::Hydroflow;
use hydroflow_plus::util::cli::HydroCLI;
use hydroflow_plus::*;
use hydroflow_plus_cli_integration::{CLIRuntime, HydroflowPlusMeta};
Expand Down
2 changes: 0 additions & 2 deletions multiplatform_test/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#![doc = include_str!("../README.md")]

use std::iter::Iterator;

use proc_macro::TokenStream;
use quote::{quote, quote_spanned};

Expand Down
1 change: 0 additions & 1 deletion topolotree/src/latency_measure.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ use std::time::Instant;

use futures::{SinkExt, StreamExt};
use hydroflow::bytes::Bytes;
use hydroflow::tokio;
use hydroflow::util::cli::{ConnectedDirect, ConnectedSink, ConnectedSource};
use hydroflow::util::{deserialize_from_bytes, serialize_to_bytes};

Expand Down
2 changes: 1 addition & 1 deletion topolotree/src/pn.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ use std::collections::{HashMap, HashSet};
use std::ops::Deref;
use std::rc::Rc;

use hydroflow::hydroflow_syntax;
use hydroflow::serde::{Deserialize, Serialize};
use hydroflow::util::cli::{
ConnectedDemux, ConnectedDirect, ConnectedSink, ConnectedSource, ConnectedTagged,
};
use hydroflow::util::{deserialize_from_bytes, serialize_to_bytes};
use hydroflow::{hydroflow_syntax, tokio};

mod protocol;
use protocol::*;
Expand Down
2 changes: 1 addition & 1 deletion topolotree/src/pn_delta.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ use std::collections::HashMap;
use std::ops::Deref;
use std::rc::Rc;

use hydroflow::hydroflow_syntax;
use hydroflow::serde::{Deserialize, Serialize};
use hydroflow::util::cli::{
ConnectedDemux, ConnectedDirect, ConnectedSink, ConnectedSource, ConnectedTagged,
};
use hydroflow::util::{deserialize_from_bytes, serialize_to_bytes};
use hydroflow::{hydroflow_syntax, tokio};

mod protocol;
use protocol::*;
Expand Down

0 comments on commit b391447

Please sign in to comment.