diff --git a/partiql-ast/src/pretty.rs b/partiql-ast/src/pretty.rs index d577ed21..e7d6ba29 100644 --- a/partiql-ast/src/pretty.rs +++ b/partiql-ast/src/pretty.rs @@ -4,7 +4,7 @@ use partiql_common::pretty::{ pretty_seperated_doc, pretty_seq, pretty_seq_doc, PrettyDoc, PRETTY_INDENT_MINOR_NEST, PRETTY_INDENT_SUBORDINATE_CLAUSE_NEST, }; -use pretty::{DocAllocator, DocBuilder, Pretty}; +use pretty::{DocAllocator, DocBuilder}; impl PrettyDoc for AstNode where T: PrettyDoc, diff --git a/partiql-eval/src/eval/expr/operators.rs b/partiql-eval/src/eval/expr/operators.rs index 11c5ca67..2da5c4d7 100644 --- a/partiql-eval/src/eval/expr/operators.rs +++ b/partiql-eval/src/eval/expr/operators.rs @@ -1,7 +1,6 @@ use crate::eval::eval_expr_wrapper::{ ArgCheckControlFlow, ArgChecker, ArgShortCircuit, BinaryValueExpr, DefaultArgChecker, - ExecuteEvalExpr, NullArgChecker, PropagateMissing, PropagateNull, TernaryValueExpr, - UnaryValueExpr, + ExecuteEvalExpr, PropagateMissing, PropagateNull, TernaryValueExpr, UnaryValueExpr, }; use crate::eval::expr::{BindError, BindEvalExpr, EvalExpr}; diff --git a/partiql-value/src/lib.rs b/partiql-value/src/lib.rs index 06c5aa43..cb27e2f5 100644 --- a/partiql-value/src/lib.rs +++ b/partiql-value/src/lib.rs @@ -27,7 +27,7 @@ pub use list::*; pub use pretty::*; pub use tuple::*; -use partiql_common::pretty::{PrettyDoc, ToPretty, ToPrettyResult}; +use partiql_common::pretty::ToPretty; #[cfg(feature = "serde")] use serde::{Deserialize, Serialize}; diff --git a/partiql-value/src/pretty.rs b/partiql-value/src/pretty.rs index e38d09f8..5767ca95 100644 --- a/partiql-value/src/pretty.rs +++ b/partiql-value/src/pretty.rs @@ -1,10 +1,8 @@ use crate::{Bag, DateTime, List, Tuple, Value}; use partiql_common::pretty::{ - pretty_prefixed_doc, pretty_seq, pretty_surrounded, PrettyDoc, ToPretty, ToPrettyResult, - PRETTY_INDENT_MINOR_NEST, + pretty_prefixed_doc, pretty_seq, pretty_surrounded, PrettyDoc, PRETTY_INDENT_MINOR_NEST, }; -use pretty::{Arena, DocAllocator, DocBuilder, Pretty}; -use std::io::Write; +use pretty::{DocAllocator, DocBuilder}; impl PrettyDoc for Value { #[inline] diff --git a/partiql/tests/comparisons.rs b/partiql/tests/comparisons.rs index 5a6ded6f..67716dd9 100644 --- a/partiql/tests/comparisons.rs +++ b/partiql/tests/comparisons.rs @@ -3,7 +3,7 @@ use assert_matches::assert_matches; use itertools::Itertools; use partiql_eval::eval::Evaluated; use partiql_eval::plan::EvaluationMode; -use partiql_value::{Comparable, DateTime, Value}; +use partiql_value::{Comparable, Value}; mod common; diff --git a/partiql/tests/pretty.rs b/partiql/tests/pretty.rs index 23e40ecd..86d30e3a 100644 --- a/partiql/tests/pretty.rs +++ b/partiql/tests/pretty.rs @@ -2,7 +2,6 @@ use crate::common::parse; use itertools::Itertools; use partiql_ast::ast::{AstNode, TopLevelQuery}; use partiql_common::pretty::ToPretty; -use partiql_parser::ParserResult; use partiql_value::{bag, list, tuple, DateTime, Value}; use rust_decimal::prelude::FromPrimitive; use time::macros::{date, datetime, offset, time};