Merge pull request #19370 from DriedYellowPeach/refactor/io-result
refactor: Simplify by removing ? operator
This commit is contained in:
commit
845ca7b7ac
1 changed files with 1 additions and 2 deletions
|
|
@ -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()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue