mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
whitespaces fmt fix
Former-commit-id: 1f9296d4f773f2da6e222a89f471f30c77b432fa
This commit is contained in:
parent
1cfd0de2ba
commit
af4192869d
@ -104,14 +104,14 @@ fn main() {
|
||||
let panic_info_payload = panic_info.payload();
|
||||
let payload_string = panic_info_payload.downcast_ref::<String>();
|
||||
let reason = match payload_string {
|
||||
Some(s) => &s,
|
||||
None => {
|
||||
let payload_str = panic_info_payload.downcast_ref::<&str>();
|
||||
match payload_str {
|
||||
Some(st) => st,
|
||||
None => "Payload is not a string",
|
||||
}
|
||||
Some(s) => &s,
|
||||
None => {
|
||||
let payload_str = panic_info_payload.downcast_ref::<&str>();
|
||||
match payload_str {
|
||||
Some(st) => st,
|
||||
None => "Payload is not a string",
|
||||
}
|
||||
}
|
||||
};
|
||||
let msg = format!(" \
|
||||
A critical error has occured and Voxygen has been forced to terminate in an unusual manner. Details about the error can be found below.
|
||||
|
Loading…
Reference in New Issue
Block a user