diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-03-11 11:46:12 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-03-11 11:46:12 +0100 |
| commit | 8e5f446544fd147277ed2e4208c7ea793cc846a7 (patch) | |
| tree | f8b0143fb3845da6673ca1312f03ab53f0f28a50 /src/eval/array.rs | |
| parent | a9fdff244aef859449a76e5f762ee7c343a8ddcc (diff) | |
Autocompletion for raw language tags
Diffstat (limited to 'src/eval/array.rs')
| -rw-r--r-- | src/eval/array.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/eval/array.rs b/src/eval/array.rs index 8da9b3d2..979f15d4 100644 --- a/src/eval/array.rs +++ b/src/eval/array.rs @@ -6,7 +6,7 @@ use ecow::{eco_format, EcoString, EcoVec}; use super::{ops, Args, Func, Value, Vm}; use crate::diag::{bail, At, SourceResult, StrResult}; -use crate::util::pretty_array; +use crate::util::pretty_array_like; /// Create a new [`Array`] from values. #[macro_export] @@ -343,7 +343,7 @@ impl Array { impl Debug for Array { fn fmt(&self, f: &mut Formatter) -> fmt::Result { let pieces: Vec<_> = self.iter().map(|value| eco_format!("{value:?}")).collect(); - f.write_str(&pretty_array(&pieces, self.len() == 1)) + f.write_str(&pretty_array_like(&pieces, self.len() == 1)) } } |
