Skip to content

Commit

Permalink
docs(rust): Fix user_guide of str.split
Browse files Browse the repository at this point in the history
  • Loading branch information
reswqa committed Sep 18, 2023
1 parent 040c53b commit d6ea66d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/rust/user-guide/expressions/lists.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
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]
Expand Down

0 comments on commit d6ea66d

Please sign in to comment.