We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f00a1bd commit 5981033Copy full SHA for 5981033
README.md
@@ -24,14 +24,14 @@ cargo add TBD
24
25
Then start reading ADIF from any object that implements the AsyncRead trait:
26
27
-```rust,no_run
+```rust
28
use adif::RecordStream;
29
use futures::StreamExt;
30
use tokio::{fs::File, io::BufReader};
31
32
#[tokio::main(flavor = "current_thread")]
33
async fn main() -> Result<(), Box<dyn std::error::Error>> {
34
- let file = File::open("foo.adif").await?;
+ let file = File::open("examples/sample.adif").await?;
35
let reader = BufReader::new(file);
36
let mut stream = RecordStream::new(reader, true);
37
while let Some(result) = stream.next().await {
0 commit comments