Skip to content

Commit

Permalink
Fixed examples.
Browse files Browse the repository at this point in the history
  • Loading branch information
Omega359 committed Sep 28, 2024
1 parent 148efb7 commit 065b548
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion datafusion/expr/src/udaf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ where
/// Field::new("ordering", DataType::UInt32, true)
/// ])
/// }
/// fn documentation(&self) -> Documentation {
/// fn documentation(&self) -> &Documentation {
/// &self.documentation
/// }
/// }
Expand Down
2 changes: 1 addition & 1 deletion datafusion/expr/src/udf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ where
/// }
/// // The actual implementation would add one to the argument
/// fn invoke(&self, args: &[ColumnarValue]) -> Result<ColumnarValue> { unimplemented!() }
/// fn documentation(&self) -> Documentation {
/// fn documentation(&self) -> &Documentation {
/// &self.documentation
/// }
/// }
Expand Down

0 comments on commit 065b548

Please sign in to comment.