From d6ea66d270624830895ce06e24b5c3a8461f0015 Mon Sep 17 00:00:00 2001 From: Weijie Guo Date: Mon, 18 Sep 2023 22:48:39 +0800 Subject: [PATCH] docs(rust): Fix user_guide of str.split --- docs/src/rust/user-guide/expressions/lists.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/rust/user-guide/expressions/lists.rs b/docs/src/rust/user-guide/expressions/lists.rs index 05b1b4f6f1f9..330ce3358f78 100644 --- a/docs/src/rust/user-guide/expressions/lists.rs +++ b/docs/src/rust/user-guide/expressions/lists.rs @@ -21,7 +21,7 @@ fn main() -> Result<(), Box> { let out = weather .clone() .lazy() - .with_columns([col("temperatures").str().split(" ")]) + .with_columns([col("temperatures").str().split(lit(" "))]) .collect()?; println!("{}", &out); // --8<-- [end:string_to_list]