We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d7dcb6 commit 719743eCopy full SHA for 719743e
Cargo.toml
@@ -1,6 +1,6 @@
1
[package]
2
name = "recoverable-spawn"
3
-version = "3.9.6"
+version = "3.9.7"
4
readme = "README.md"
5
edition = "2024"
6
authors = ["root@ltpp.vip"]
src/thread/sync/fn.rs
@@ -47,7 +47,7 @@ pub fn spawn_error_to_string(err: &SpawnError) -> String {
47
Some(str_slice) => str_slice.to_string(),
48
None => match err.downcast_ref::<String>() {
49
Some(string) => string.to_owned(),
50
- None => format!("{:?}", err),
+ None => format!("{err:?}"),
51
},
52
}
53
0 commit comments