diff options
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index 80dcb54..4416f7d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -17,7 +17,11 @@ fn main() { let mut bytecode: Vec<u8> = Vec::new(); match std::io::stdin().take(64*1024).read_to_end(&mut bytecode) { Ok(len) => eprintln!("Loaded {len} bytes of bytecode."), - Err(err) => { eprintln!("Could not read from standard input, quitting.\n({err:?})"); exit(1); } + Err(err) => { + eprintln!("Could not read from standard input, quitting."); + eprintln!("({err:?})"); + exit(1); + } }; BedrockEmulator::new(&bytecode).run(); } |