From 3869c03e91a122ad816016e101185058ae5bdd67 Mon Sep 17 00:00:00 2001 From: Priyansh Agrawal Date: Mon, 30 Oct 2023 20:22:44 +0530 Subject: [PATCH] [Docs] Fix typo in user-guide/expressions/plugins.md --- docs/user-guide/expressions/plugins.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/user-guide/expressions/plugins.md b/docs/user-guide/expressions/plugins.md index 0fc593539756..7f21d71235f6 100644 --- a/docs/user-guide/expressions/plugins.md +++ b/docs/user-guide/expressions/plugins.md @@ -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