File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -134,7 +134,6 @@ impl<T: Bind> Bind for UnaryExpression<T> {
134134impl < 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( ) ) ;
You can’t perform that action at this time.
0 commit comments