Skip to content

Commit 7adba38

Browse files
committed
docs(reader): Document ReadUntil
1 parent a5e99df commit 7adba38

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/reader.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use crate::error::Error;
44
pub use regex::Regex;
55
use std::io::prelude::*;
66
use std::io::{self, BufReader};
7-
use std::sync::mpsc::{Receiver, channel};
7+
use std::sync::mpsc::{channel, Receiver};
88
use std::thread;
99
use std::{fmt, time};
1010

@@ -206,6 +206,7 @@ impl NBReader {
206206
}
207207
}
208208

209+
/// See [`NBReader::read_until`]
209210
pub enum ReadUntil {
210211
String(String),
211212
Regex(Regex),

0 commit comments

Comments
 (0)