diff --git a/src/main.rs b/src/main.rs index d96a52c..fe47a6e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -20,7 +20,7 @@ fn main() { "{msg}", msg = match info.payload().downcast_ref::() { None => "Program panicked without a message!", - Some(x) => &x, + Some(x) => x, } ); }));