From aa94ae57d81a93c4ec620938c2e571a5b447b68f Mon Sep 17 00:00:00 2001 From: Erin Date: Sat, 12 Feb 2022 22:52:14 +0100 Subject: [PATCH] Implemented Display for built-ins --- ablescript/src/variables.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ablescript/src/variables.rs b/ablescript/src/variables.rs index cebd102..e9dec5b 100644 --- a/ablescript/src/variables.rs +++ b/ablescript/src/variables.rs @@ -932,7 +932,7 @@ impl Display for Value { body, ) } - Functio::Builtin(_) => todo!(), + Functio::Builtin(b) => write!(f, "builtin @ {}", b.fn_addr()), Functio::Chain { functios, kind } => { let (a, b) = *functios.clone(); write!(