From 1e62a8fb6eceaaf3fda5744108c364bc3043d4b0 Mon Sep 17 00:00:00 2001 From: "Joseph T. Lyons" Date: Wed, 8 Jul 2020 19:55:01 -0400 Subject: [PATCH] Fix variable name (#2142) --- crates/nu-cli/src/commands/from_vcf.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/nu-cli/src/commands/from_vcf.rs b/crates/nu-cli/src/commands/from_vcf.rs index 0b213c630..fef9e9c0a 100644 --- a/crates/nu-cli/src/commands/from_vcf.rs +++ b/crates/nu-cli/src/commands/from_vcf.rs @@ -42,8 +42,8 @@ async fn from_vcf( let input_string = input.collect_string(tag.clone()).await?.item; let input_bytes = input_string.into_bytes(); - let buf_reader = std::io::Cursor::new(input_bytes); - let parser = ical::VcardParser::new(buf_reader); + let cursor = std::io::Cursor::new(input_bytes); + let parser = ical::VcardParser::new(cursor); let iter = parser.map(move |contact| match contact { Ok(c) => ReturnSuccess::value(contact_to_value(c, tag.clone())),