whitespaces fmt fix

Former-commit-id: 1f9296d4f773f2da6e222a89f471f30c77b432fa
This commit is contained in:
Vsevolod Timchenko 2019-05-09 20:27:07 +03:00
parent 1cfd0de2ba
commit af4192869d

View File

@ -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.