format rust and nix files

This commit is contained in:
Chance 2025-03-22 21:58:27 -04:00 committed by BitSyndicate
parent 86fee37297
commit e5ec21bfac
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 443E4198D6BBA6DE
9 changed files with 214 additions and 186 deletions

View file

@ -33,8 +33,6 @@ pub fn set_panic_hook() {
default_hook(info);
std::process::exit(0);
});
// Instead of using payload_as_str(), downcast the panic payload:
let payload = info.payload();
let payload_str = if let Some(s) = payload.downcast_ref::<&str>() {
*s
@ -65,7 +63,6 @@ https://github.com/Zenyx-Engine/Zenyx/issues
We take privacy seriously, and do not perform any automated error collection. In order to improve the software, we rely on people to submit reports.
Thank you kindly!", log_path.display());
println!("{}", panic_msg.red().bold());
println!("\nFor future reference, the error summary is as follows:\n{}", payload_str.red().bold());
std::process::exit(0);

View file

@ -33,7 +33,7 @@ impl Command for HelpCommand {
}
}
Ok(())
}
}
fn undo(&self) {}