From 74dabba25096d88da166bd2dcf673ab6a1cd1ac6 Mon Sep 17 00:00:00 2001 From: Casey Rodarmor Date: Thu, 2 Jan 2025 14:25:04 -0800 Subject: [PATCH] Ignore I/O errors when writing changelog to stdout (#2558) --- src/subcommand.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/subcommand.rs b/src/subcommand.rs index fbb5cb0ba8..d401cfb0ae 100644 --- a/src/subcommand.rs +++ b/src/subcommand.rs @@ -181,7 +181,7 @@ impl Subcommand { } fn changelog() { - print!("{}", include_str!("../CHANGELOG.md")); + write!(io::stdout(), "{}", include_str!("../CHANGELOG.md")).ok(); } fn choose<'src>(