Skip to content

Commit c3fbd04

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

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

src/reader.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,7 @@ impl NBReader {
206206
}
207207
}
208208

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

src/session.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ use crate::process::PtyProcess;
55
use crate::reader::{NBReader, Regex};
66
pub use crate::reader::{Options, ReadUntil};
77
use std::fs::File;
8-
use std::io::prelude::*;
98
use std::io::LineWriter;
9+
use std::io::prelude::*;
1010
use std::ops::{Deref, DerefMut};
1111
use std::process::Command;
1212
use tempfile;

0 commit comments

Comments
 (0)