Skip to content

Commit

Permalink
[Docs] Fix typo in user-guide/expressions/plugins.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Priyansh121096 authored Oct 30, 2023
1 parent 1c34710 commit 3869c03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/user-guide/expressions/plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ serde = { version = "*", features = ["derive"] }
### Writing the expression

In this library we create a helper function that converts a `&str` to pig-latin, and we create the function that we will
expose as an expression. To expose a function we must add the `#[polars_expr(output=DataType)]` attribute and the function
expose as an expression. To expose a function we must add the `#[polars_expr(output_type=DataType)]` attribute and the function
must always accept `inputs: &[Series]` as its first argument.

```rust
Expand Down

0 comments on commit 3869c03

Please sign in to comment.