Mark debug functions cold.
This commit is contained in:
@@ -27,6 +27,8 @@ pub enum CallableFunction {
|
||||
}
|
||||
|
||||
impl fmt::Debug for CallableFunction {
|
||||
#[cold]
|
||||
#[inline(never)]
|
||||
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
||||
match self {
|
||||
Self::Pure(..) => write!(f, "NativePureFunction"),
|
||||
|
Reference in New Issue
Block a user