diff --git a/crates/fj-host/src/lib.rs b/crates/fj-host/src/lib.rs index 3c0f1e1f1..c4eda5f6b 100644 --- a/crates/fj-host/src/lib.rs +++ b/crates/fj-host/src/lib.rs @@ -99,8 +99,16 @@ impl Model { let exit_status = cargo_output.status; if exit_status.success() { - let seconds_taken = str::from_utf8(&cargo_output.stderr).unwrap().rsplit_once(' ').unwrap().1.trim(); - status.update_status(format!("Model compiled successfully in {seconds_taken}!").as_str()); + let seconds_taken = str::from_utf8(&cargo_output.stderr) + .unwrap() + .rsplit_once(' ') + .unwrap() + .1 + .trim(); + status.update_status( + format!("Model compiled successfully in {seconds_taken}!") + .as_str(), + ); } else { let output = match command.output() { Ok(output) => {