From 376dae97aada823778b210e5360530b5c777de73 Mon Sep 17 00:00:00 2001 From: kenkoooo Date: Fri, 11 Oct 2024 16:07:31 +0900 Subject: [PATCH] docs: Fix example of `as_struct` (#19116) --- crates/polars/src/docs/lazy.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/polars/src/docs/lazy.rs b/crates/polars/src/docs/lazy.rs index c77bf58d5cac..bfaa6ebd2569 100644 --- a/crates/polars/src/docs/lazy.rs +++ b/crates/polars/src/docs/lazy.rs @@ -257,7 +257,7 @@ //! "b" => [3.0f32, 5.1, 0.3] //! ]? //! .lazy() -//! .select([as_struct(&[col("a"), col("b")]).map( +//! .select([as_struct(vec![col("a"), col("b")]).map( //! |s| { //! let ca = s.struct_()?; //!