mirror of
https://github.com/artegoser/ONLang
synced 2024-11-05 20:43:57 +03:00
fix: delete an unnecessary reference
in the panic handler
This commit is contained in:
parent
45e8230545
commit
8e8cd37455
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ fn main() {
|
|||
"{msg}",
|
||||
msg = match info.payload().downcast_ref::<String>() {
|
||||
None => "Program panicked without a message!",
|
||||
Some(x) => &x,
|
||||
Some(x) => x,
|
||||
}
|
||||
);
|
||||
}));
|
||||
|
|
Loading…
Reference in a new issue