fixed return value
This commit is contained in:
@@ -75,7 +75,7 @@ impl<'a> LookAheadFile<'a> {
|
||||
el
|
||||
} else {
|
||||
ERRNO.set(EILSEQ);
|
||||
return Ok(WEOF);
|
||||
return Ok(Some(WEOF));
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user