Skip to content

Commit 311c19d

Browse files
committed
fix clippy
1 parent 02a0d89 commit 311c19d

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

crates/iceberg/src/expr/predicate.rs

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,6 @@ impl<T: Bind> Bind for UnaryExpression<T> {
134134
impl<T> UnaryExpression<T> {
135135
/// Creates a unary expression with the given operator and term.
136136
///
137-
///
138137
/// # Example
139138
///
140139
/// ```rust
@@ -186,11 +185,14 @@ impl<T> BinaryExpression<T> {
186185
/// # Example
187186
///
188187
/// ```rust
189-
/// use iceberg::expr::Datum;
190-
/// use iceberg::expr::PredicateOperator;
191-
/// use iceberg::expr::Reference;
188+
/// use iceberg::expr::{BinaryExpression, PredicateOperator, Reference};
189+
/// use iceberg::spec::Datum;
192190
///
193-
/// BinaryExpression::new(PredicateOperator::LessThanOrEq, Reference::new("a"), Datum::int(10);
191+
/// BinaryExpression::new(
192+
/// PredicateOperator::LessThanOrEq,
193+
/// Reference::new("a"),
194+
/// Datum::int(10),
195+
/// );
194196
/// ```
195197
pub fn new(op: PredicateOperator, term: T, literal: Datum) -> Self {
196198
debug_assert!(op.is_binary());

0 commit comments

Comments
 (0)