Give closure parameter a name

This commit is contained in:
Joseph Lyons 2023-04-19 14:21:53 -04:00
parent 27a6bacab8
commit 0326a45a91

View file

@ -366,7 +366,7 @@ fn init_panic_hook(app_version: String) {
}), }),
backtrace: format!("{:?}", backtrace) backtrace: format!("{:?}", backtrace)
.split("\n") .split("\n")
.map(|a| a.to_string()) .map(|line| line.to_string())
.collect(), .collect(),
// modified_backtrace: None, // modified_backtrace: None,
}; };