Skip to content

Commit

Permalink
Clippy & fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
jpschorr committed Oct 9, 2024
1 parent 4208c23 commit 4e05f89
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 10 deletions.
2 changes: 1 addition & 1 deletion partiql-ast/src/pretty.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<T> PrettyDoc for AstNode<T>
where
T: PrettyDoc,
Expand Down
3 changes: 1 addition & 2 deletions partiql-eval/src/eval/expr/operators.rs
Original file line number Diff line number Diff line change
@@ -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};
Expand Down
2 changes: 1 addition & 1 deletion partiql-value/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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};

Expand Down
6 changes: 2 additions & 4 deletions partiql-value/src/pretty.rs
Original file line number Diff line number Diff line change
@@ -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]
Expand Down
2 changes: 1 addition & 1 deletion partiql/tests/comparisons.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
1 change: 0 additions & 1 deletion partiql/tests/pretty.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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};
Expand Down

0 comments on commit 4e05f89

Please sign in to comment.