Skip to content

Commit 9f85f80

Browse files
authored
docs: fix typo in expr.Reference doc (#1343)
## Which issue does this PR close? <!-- We generally require a GitHub issue to be filed for all bug fixes and enhancements and this helps us generate change logs for our releases. You can link an issue to this PR using the GitHub syntax. For example `Closes #123` indicates that this PR will close issue #123. --> N/A ## What changes are included in this PR? <!-- Provide a summary of the modifications in this PR. List the main changes such as new features, bug fixes, refactoring, or any other updates. --> This PR is to fix typos for 2 functions in the `expr.Reference` doc: - `is_in()` - `is_not_in()` ## Are these changes tested? <!-- Specify what test covers (unit test, integration test, etc.). If tests are not included in your PR, please explain why (for example, are they covered by existing tests)? --> Yes.
1 parent a5a4769 commit 9f85f80

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/iceberg/src/expr/term.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ impl Reference {
257257
Predicate::Unary(UnaryExpression::new(PredicateOperator::NotNull, self))
258258
}
259259

260-
/// Creates an is-in expression. For example, `a IS IN (5, 6)`.
260+
/// Creates an is-in expression. For example, `a IN (5, 6)`.
261261
///
262262
/// # Example
263263
///
@@ -278,7 +278,7 @@ impl Reference {
278278
))
279279
}
280280

281-
/// Creates an is-not-in expression. For example, `a IS NOT IN (5, 6)`.
281+
/// Creates an is-not-in expression. For example, `a NOT IN (5, 6)`.
282282
///
283283
/// # Example
284284
///

0 commit comments

Comments
 (0)