Skip to content

Commit

Permalink
vcf/async/io/reader: Use format records stream in example
Browse files Browse the repository at this point in the history
  • Loading branch information
zaeleus committed Sep 9, 2024
1 parent c940edd commit 787e269
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions noodles-vcf/src/async/io/reader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ const CARRIAGE_RETURN: char = '\r';
/// .map(BufReader::new)
/// .map(vcf::r#async::io::Reader::new)?;
///
/// let header = reader.read_header().await?;
/// let _header = reader.read_header().await?;
///
/// let mut records = reader.record_bufs(&header);
/// let mut records = reader.records();
///
/// while let Some(record) = records.try_next().await? {
/// while let Some(_record) = records.try_next().await? {
/// // ...
/// }
/// # Ok(())
Expand Down

0 comments on commit 787e269

Please sign in to comment.