From f24a90b77ba5a533c1ad9d34a2da6fb76945d844 Mon Sep 17 00:00:00 2001 From: Bill Thiede Date: Thu, 24 Jun 2021 16:44:45 -0700 Subject: [PATCH] eoc2: print filename before saving. --- rtchallenge/examples/eoc2.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/rtchallenge/examples/eoc2.rs b/rtchallenge/examples/eoc2.rs index a40b12f..4557631 100644 --- a/rtchallenge/examples/eoc2.rs +++ b/rtchallenge/examples/eoc2.rs @@ -64,6 +64,8 @@ fn main() -> Result<()> { } } - c.write_to_file("/tmp/output.png")?; + let path = "/tmp/output.png"; + println!("saving output to {}", path); + c.write_to_file(path)?; Ok(()) }