Skip to content

Commit

Permalink
cram/examples: Normalize async I/O name usages
Browse files Browse the repository at this point in the history
  • Loading branch information
zaeleus committed Sep 16, 2024
1 parent da92cea commit 785e67d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion noodles-cram/examples/cram_count_async.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ use tokio::{fs::File, io};
async fn main() -> io::Result<()> {
let src = env::args().nth(1).expect("missing src");

let mut reader = File::open(src).await.map(cram::AsyncReader::new)?;
let mut reader = File::open(src).await.map(cram::r#async::io::Reader::new)?;
reader.read_header().await?;

let mut n = 0;
Expand Down
2 changes: 1 addition & 1 deletion noodles-cram/examples/cram_read_header_async.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ use tokio::{
async fn main() -> io::Result<()> {
let src = env::args().nth(1).expect("missing src");

let mut reader = File::open(src).await.map(cram::AsyncReader::new)?;
let mut reader = File::open(src).await.map(cram::r#async::io::Reader::new)?;
let header = reader.read_header().await?;

let mut writer = sam::r#async::io::Writer::new(io::stdout());
Expand Down

0 comments on commit 785e67d

Please sign in to comment.