From aa3905470c1323902f54e3c865b4c79f9cc879d7 Mon Sep 17 00:00:00 2001 From: Liam Brannigan Date: Thu, 6 Jun 2024 13:34:23 +0100 Subject: [PATCH] Cargo fmt --- docs/development/contributing/index.md | 4 ++- .../transformations/concatenation.rs | 29 +++++++++---------- 2 files changed, 17 insertions(+), 16 deletions(-) diff --git a/docs/development/contributing/index.md b/docs/development/contributing/index.md index 2aa65ed0fa5e..6296ed9f30b9 100644 --- a/docs/development/contributing/index.md +++ b/docs/development/contributing/index.md @@ -253,7 +253,9 @@ The snippet is delimited by `--8<-- [start:]` and `--8<-- [end: Result<(), Box> { // --8<-- [start:vertical_relaxed] let df_v1 = df!( - "a"=> &[1.0], - "b"=> &[3], -)?; -let df_v2 = df!( - "a"=> &[2], - "b"=> &[4], -)?; -let df_vertical_relaxed_concat = concat( - [df_v1.clone().lazy(), df_v2.clone().lazy()], - UnionArgs::default(), -)? -.collect()?; -println!("{}", &df_vertical_relaxed_concat); -// --8<-- [end:vertical_relaxed] - + "a"=> &[1.0], + "b"=> &[3], + )?; + let df_v2 = df!( + "a"=> &[2], + "b"=> &[4], + )?; + let df_vertical_relaxed_concat = concat( + [df_v1.clone().lazy(), df_v2.clone().lazy()], + UnionArgs::default(), + )? + .collect()?; + println!("{}", &df_vertical_relaxed_concat); + // --8<-- [end:vertical_relaxed] // --8<-- [start:horizontal] let df_h1 = df!(