mirror of
https://github.com/erg-lang/erg.git
synced 2025-08-04 10:49:54 +00:00
fix: borrow error
This commit is contained in:
parent
2ff3194d69
commit
e1ffa2d739
7 changed files with 63 additions and 51 deletions
|
@ -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:?}")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue