mirror of
https://github.com/nushell/nushell
synced 2024-11-15 01:17:07 +00:00
Fix variable name (#2142)
This commit is contained in:
parent
ed6f337a48
commit
1e62a8fb6e
1 changed files with 2 additions and 2 deletions
|
@ -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())),
|
||||
|
|
Loading…
Reference in a new issue