From 47ed7a5907a1aef305de9747bef816a6d142b684 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Antinori?= Date: Sat, 8 Feb 2025 14:11:25 -0300 Subject: [PATCH] fixed return value --- src/header/wchar/lookaheadreader.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/header/wchar/lookaheadreader.rs b/src/header/wchar/lookaheadreader.rs index 516749084b..742fba372e 100644 --- a/src/header/wchar/lookaheadreader.rs +++ b/src/header/wchar/lookaheadreader.rs @@ -75,7 +75,7 @@ impl<'a> LookAheadFile<'a> { el } else { ERRNO.set(EILSEQ); - return Ok(WEOF); + return Ok(Some(WEOF)); }; }