diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-05-13 16:27:44 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-05-13 16:27:44 +0200 |
| commit | 05c27a581ece00e27c16be3d9ac69f3eefedcd4b (patch) | |
| tree | ddd1dfb9598d0b629ce90bb963d194dceb0b4b97 /src/library/structure/list.rs | |
| parent | 11f1f0818b990be1ed4a16652b7f30bf11159237 (diff) | |
Automatically display value in more places
Diffstat (limited to 'src/library/structure/list.rs')
| -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() } }) } |
