From 4e62cc2ecdca74c03c056188bce4fa1271c713eb Mon Sep 17 00:00:00 2001 From: Mueez Khan <30333942+rzmk@users.noreply.github.com> Date: Fri, 21 Jun 2024 00:19:44 -0400 Subject: [PATCH] docs: fix Rust example to use `include_header_row` --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9a189ab..642569c 100644 --- a/README.md +++ b/README.md @@ -29,8 +29,11 @@ apple,2.50 banana,3.00 strawberry,1.50 "; - let output: usize = RowCount::new().file_data(data).execute()?; - println!("{output}"); // 3 + let output: usize = RowCount::new() + .file_data(data) + .include_header_row(true) + .execute()?; + println!("{output}"); // 4 Ok(()) } ```