Skip to content

Commit 09b4e2d

Browse files
committed
Better naming of variable in doc test
1 parent f6945ad commit 09b4e2d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vcf/src/vcf.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ impl From<parse::ParseError> for VCFError {
139139
/// "#;
140140
///# use vcf::vcf::VCFError;
141141
/// let vcf = parse_vcf(&vcf_source[..])?;
142-
/// let hq_description = vcf.format
142+
/// let hq = vcf.format
143143
/// .iter()
144144
/// .find(
145145
/// |item| match &item.value {
@@ -148,7 +148,7 @@ impl From<parse::ParseError> for VCFError {
148148
/// }
149149
/// ).unwrap();
150150
/// assert_eq!(
151-
/// *hq_description,
151+
/// *hq,
152152
/// Header {
153153
/// key: "FORMAT".to_string(),
154154
/// value: HeaderValue::Nested(HashMap::from([

0 commit comments

Comments
 (0)