Skip to content

Commit 776dbe9

Browse files
committed
fix(reader)!: Make ReadUntil non-exhaustive
1 parent 568837f commit 776dbe9

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/reader.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,7 @@ impl NBReader {
214214
/// See [`NBReader::read_until`]
215215
///
216216
/// Note that when used with a tty the lines end with \r\n
217+
#[non_exhaustive]
217218
pub enum ReadUntil {
218219
/// Searches for string (use '\n'.`to_string()` to search for newline).
219220
///

0 commit comments

Comments
 (0)