From c35f3d80ffbee3f170a83505d6144fd289b52d9e Mon Sep 17 00:00:00 2001 From: Alex Bethel Date: Tue, 15 Jun 2021 10:26:44 -0500 Subject: [PATCH] `rustfmt`: whoops, let's put a semicolon there maybe I should have actually looked at what rustfmt produced before I just blindly accepted it and pushed it onto master. --- src/interpret.rs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/interpret.rs b/src/interpret.rs index 1e3ecd94..89a0de71 100644 --- a/src/interpret.rs +++ b/src/interpret.rs @@ -275,9 +275,11 @@ impl ExecEnv { // here at some point. ~~Alex exit(random()); } - StmtKind::Rickroll => stdout() - .write_all(include_str!("rickroll").as_bytes()) - .expect("Failed to write to stdout"), + StmtKind::Rickroll => { + stdout() + .write_all(include_str!("rickroll").as_bytes()) + .expect("Failed to write to stdout"); + } } Ok(HaltStatus::Finished)