fix: borrow error

This commit is contained in:
Shunsuke Shibayama 2024-08-16 15:00:12 +09:00
parent 2ff3194d69
commit e1ffa2d739
7 changed files with 63 additions and 51 deletions

View file

@ -378,7 +378,7 @@ impl<T: Send + Clone> Forkable<T> {
}
#[cfg(not(any(feature = "backtrace", feature = "debug")))]
{
panic!("Forkable::borrow: {err}")
panic!("Forkable::borrow: {err:?}")
}
}
}
@ -417,7 +417,7 @@ impl<T: Send + Clone> Forkable<T> {
}
#[cfg(not(any(feature = "backtrace", feature = "debug")))]
{
panic!("Forkable::borrow_mut: {err}")
panic!("Forkable::borrow_mut: {err:?}")
}
}
}