Skip to content

Commit

Permalink
Better naming of variable in doc test
Browse files Browse the repository at this point in the history
  • Loading branch information
MrCurtis committed Sep 5, 2023
1 parent f6945ad commit 09b4e2d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vcf/src/vcf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ impl From<parse::ParseError> 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 {
Expand All @@ -148,7 +148,7 @@ impl From<parse::ParseError> for VCFError {
/// }
/// ).unwrap();
/// assert_eq!(
/// *hq_description,
/// *hq,
/// Header {
/// key: "FORMAT".to_string(),
/// value: HeaderValue::Nested(HashMap::from([
Expand Down

0 comments on commit 09b4e2d

Please sign in to comment.