fixed return value

This commit is contained in:
Nicolás Antinori
2025-02-08 14:11:25 -03:00
parent da3e1e94fa
commit 47ed7a5907
+1 -1
View File
@@ -75,7 +75,7 @@ impl<'a> LookAheadFile<'a> {
el
} else {
ERRNO.set(EILSEQ);
return Ok(WEOF);
return Ok(Some(WEOF));
};
}