aboutsummaryrefslogtreecommitdiff
path: root/ctr-std
diff options
context:
space:
mode:
Diffstat (limited to 'ctr-std')
-rw-r--r--ctr-std/src/panicking.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/ctr-std/src/panicking.rs b/ctr-std/src/panicking.rs
index 2b5a178..d6b922d 100644
--- a/ctr-std/src/panicking.rs
+++ b/ctr-std/src/panicking.rs
@@ -50,10 +50,10 @@ pub fn begin_panic<M: Any + Send + Display>(msg: M, file_line: &(&'static str, u
let msg = Box::new(msg);
let (file, line) = *file_line;
- println!("--------------------------------------------------");
+ print!("--------------------------------------------------");
println!("PANIC in {} at line {}:", file, line);
println!(" {}", msg);
- println!("\x1b[29;00H--------------------------------------------------");
+ print!("\x1b[29;00H--------------------------------------------------");
loop {}
}