diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-02-24 14:09:38 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-02-24 14:09:38 +0100 |
| commit | 448844d66cef5f4980d0575e783757264c962bb5 (patch) | |
| tree | f280aaef927da2a30c18f13cc124c8eb77ad3abf /library/src/layout | |
| parent | 6547c2d6d5b25f44e52ac56698ed08ff6a5dbb3a (diff) | |
Allow multiple authors
Diffstat (limited to 'library/src/layout')
| -rw-r--r-- | library/src/layout/grid.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/library/src/layout/grid.rs b/library/src/layout/grid.rs index 626cb82d..d0df8794 100644 --- a/library/src/layout/grid.rs +++ b/library/src/layout/grid.rs @@ -151,10 +151,7 @@ castable! { TrackSizings, sizing: Sizing => Self(vec![sizing]), count: NonZeroUsize => Self(vec![Sizing::Auto; count.get()]), - values: Array => Self(values - .into_iter() - .filter_map(|v| v.cast().ok()) - .collect()), + values: Array => Self(values.into_iter().map(Value::cast).collect::<StrResult<_>>()?), } castable! { |
