diff --git a/ctr-std/src/panicking.rs b/ctr-std/src/panicking.rs index 86cd257..5efee33 100644 --- a/ctr-std/src/panicking.rs +++ b/ctr-std/src/panicking.rs @@ -395,7 +395,7 @@ fn default_hook(info: &PanicInfo) { let mut err = Stderr::new().ok(); let write = |err: &mut ::io::Write| { - let _ = writeln!(err, "{}", error_text); + let _ = write!(err, "{}", error_text); #[cfg(feature = "backtrace")] {