diff options
Diffstat (limited to 'src/library/structure')
| -rw-r--r-- | src/library/structure/list.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/structure/list.rs b/src/library/structure/list.rs index 6bcc9f3e..7686a3f4 100644 --- a/src/library/structure/list.rs +++ b/src/library/structure/list.rs @@ -217,7 +217,7 @@ impl Label { Self::Content(content) => content.clone(), Self::Func(func, span) => { let args = Args::from_values(*span, [Value::Int(number as i64)]); - func.call(ctx, args)?.cast().at(*span)? + func.call(ctx, args)?.display() } }) } |
