Skip to content

Commit f6662bb

Browse files
committed
hide bind_options from docs
Signed-off-by: Matt Katz <[email protected]>
1 parent aafd2d3 commit f6662bb

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎vortex-array/src/expr/lambda/mod.rs‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,8 @@ impl Lambda {
107107
/// Bind the body to these parameter dtypes: `@x` becomes `$.x`, a field of the struct of the
108108
/// lambda's inputs.
109109
///
110-
/// A function that takes a lambda calls this from its
111-
/// [`bind_options`](crate::scalar_fn::ScalarFnVTable::bind_options), so the body is bound once,
112-
/// with the node that holds it, and never while the function runs.
110+
/// A function that takes a lambda calls this from its `bind_options`, so the body is bound
111+
/// once, with the node that holds it, and never while the function runs.
113112
pub fn bind(&self, param_dtypes: &[DType]) -> VortexResult<BoundLambda> {
114113
let params = self.param_fields(param_dtypes)?;
115114
let body = self

‎vortex-array/src/scalar_fn/vtable.rs‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ pub trait ScalarFnVTable: 'static + Sized + Clone + Send + Sync {
167167
/// A rebuilt node calls it again, possibly with other dtypes: options that are already bound
168168
/// must be checked against these dtypes, returning `None` if they fit and an error if they
169169
/// don't. Return `None` to keep the options as they are, which the default does.
170+
#[doc(hidden)]
170171
fn bind_options(
171172
&self,
172173
options: &Self::Options,

0 commit comments

Comments
 (0)