~sircmpwn/harebot

2cee29e1c033bc5a2ef2eebbc23aaabf538fbcd1 — Sebastian a month ago 437d85e
io::close can error

Signed-off-by: Sebastian <sebastian@sebsite.pw>
1 files changed, 1 insertions(+), 1 deletions(-)

M haredoc.ha
M haredoc.ha => haredoc.ha +1 -1
@@ 109,7 109,7 @@ fn scan(path: str) (ast::subunit | error) = {
	case let err: fs::error =>
		fmt::fatal("Error reading {}: {}", path, fs::strerror(err));
	};
	defer io::close(input);
	defer io::close(input)!;
	const lexer = lex::init(input, path, lex::flags::COMMENTS);
	return parse::subunit(&lexer)?;
};