diff --git a/src/main.rs b/src/main.rs index 98e41fd..1505b9d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -95,10 +95,13 @@ fn main() { loaded_shinystats, ) { println!("{}", e); - }; + } + else { + // final string print + println!("{}", encode_string(&out)) + } + - // final string print - println!("{}", encode_string(&out)); } Err(e) => println!("{}", e), }