From 1f5e43b11a9afc15745d5d455a4b83ab7df1fc73 Mon Sep 17 00:00:00 2001 From: Michael Macias Date: Wed, 18 Sep 2024 10:50:18 -0500 Subject: [PATCH] vcf/async/io/reader: Use async index reader in example --- noodles-vcf/src/async/io/reader.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/noodles-vcf/src/async/io/reader.rs b/noodles-vcf/src/async/io/reader.rs index 556b21b6a..5e3911e8b 100644 --- a/noodles-vcf/src/async/io/reader.rs +++ b/noodles-vcf/src/async/io/reader.rs @@ -353,7 +353,7 @@ where /// /// let header = reader.read_header().await?; /// - /// let index = tabix::read("sample.vcf.gz.tbi")?; + /// let index = tabix::r#async::read("sample.vcf.gz.tbi").await?; /// let region = "sq0:8-13".parse()?; /// let mut query = reader.query(&header, &index, ®ion)?; ///