From 09b4e2d8f086013dd5b3d229178173b1c4c0c62a Mon Sep 17 00:00:00 2001 From: ac <4184070+MrCurtis@users.noreply.github.com> Date: Thu, 17 Aug 2023 20:09:01 +0000 Subject: [PATCH] Better naming of variable in doc test --- vcf/src/vcf.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vcf/src/vcf.rs b/vcf/src/vcf.rs index 974c29e..0338976 100644 --- a/vcf/src/vcf.rs +++ b/vcf/src/vcf.rs @@ -139,7 +139,7 @@ impl From for VCFError { /// "#; ///# use vcf::vcf::VCFError; /// let vcf = parse_vcf(&vcf_source[..])?; -/// let hq_description = vcf.format +/// let hq = vcf.format /// .iter() /// .find( /// |item| match &item.value { @@ -148,7 +148,7 @@ impl From for VCFError { /// } /// ).unwrap(); /// assert_eq!( -/// *hq_description, +/// *hq, /// Header { /// key: "FORMAT".to_string(), /// value: HeaderValue::Nested(HashMap::from([