From 8aa6fc502a7f65137243a25caeec56b298a19dd4 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 1e3ecd9..89a0de7 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)