From c0e972b91a7bf8d22cd24a38fc92a9c6214c8a0c Mon Sep 17 00:00:00 2001 From: Laurenz Date: Tue, 18 Oct 2022 00:02:38 +0200 Subject: Reduce dependencies from compiler on library --- src/library/structure/list.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/library/structure') diff --git a/src/library/structure/list.rs b/src/library/structure/list.rs index 7a43e5db..9d78238d 100644 --- a/src/library/structure/list.rs +++ b/src/library/structure/list.rs @@ -328,7 +328,7 @@ impl Label { Self::Content(content) => content.clone(), Self::Func(func, span) => { let args = Args::new(*span, [Value::Int(number as i64)]); - func.call_detached(world, args)?.display() + func.call_detached(world, args)?.display(world) } }) } -- cgit v1.2.3