Merge pull request #19370 from DriedYellowPeach/refactor/io-result

refactor: Simplify by removing ? operator
This commit is contained in:
Chayim Refael Friedman 2025-03-15 19:53:43 +00:00 committed by GitHub
commit 845ca7b7ac
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -30,6 +30,5 @@ pub fn write_json(out: &mut impl Write, msg: &str) -> io::Result<()> {
tracing::debug!("> {}", msg);
out.write_all(msg.as_bytes())?;
out.write_all(b"\n")?;
out.flush()?;
Ok(())
out.flush()
}