Revert "Check result of read_until, and return Error if 0, which indicates EOF was found before delimeter."

This reverts commit 61e888de7f.
This commit is contained in:
Reid Wagner authored and David Peter committed 2019-02-11 20:33:16 +01:00
1 parent 9e11d66979
commit 10c5f79640
3 files changed
+9 -15

No files matched your search

-3
View File
@@ -63,9 +63,6 @@ mod errors {
SyntectError(::syntect::LoadingError);
ParseIntError(::std::num::ParseIntError);
}
errors {
ImmediateEOF
}
}
pub fn handle_error(error: &Error) {