Skip to content

Commit

Permalink
fix: enum name usage in doc example (#311)
Browse files Browse the repository at this point in the history
  • Loading branch information
johanneskoester committed Jul 5, 2021
1 parent 47ce752 commit 6e9ba49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bcf/record.rs
Expand Up @@ -573,7 +573,7 @@ impl Record {
/// header.push_sample(b"sample1").push_sample(b"sample2").push_record(br#"##FORMAT=<ID=DP,Number=1,Type=Integer,Description="Read Depth">"#);
/// #
/// # // Write uncompressed VCF to stdout with above header and get an empty record
/// # let mut vcf = Writer::from_stdout(&header, true, Format::VCF).unwrap();
/// # let mut vcf = Writer::from_stdout(&header, true, Format::Vcf).unwrap();
/// # let mut record = vcf.empty_record();
/// record.push_format_integer(b"DP", &[20, 12]).expect("Failed to set DP format field");
///
Expand Down

0 comments on commit 6e9ba49

Please sign in to comment.