diff options
| author | Laurenz <laurmaedje@gmail.com> | 2020-10-11 13:08:27 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2020-10-11 13:08:27 +0200 |
| commit | f04ad0ffa5f34bb7fd97e5c94c7547f96904220c (patch) | |
| tree | 8fb4ebbcf1a24f08ded0f3fea1afe9f9bcdf6697 /src/layout/spacing.rs | |
| parent | c216a4fc26c72938ddad60bc5fe4fa9e45263b30 (diff) | |
Rename LayoutItem to Layouted ✏
Diffstat (limited to 'src/layout/spacing.rs')
| -rw-r--r-- | src/layout/spacing.rs | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/layout/spacing.rs b/src/layout/spacing.rs index 9eac1ad5..766ff4d2 100644 --- a/src/layout/spacing.rs +++ b/src/layout/spacing.rs @@ -11,12 +11,8 @@ pub struct Spacing { #[async_trait(?Send)] impl Layout for Spacing { - async fn layout( - &self, - _: &mut LayoutContext, - _: LayoutConstraints, - ) -> Vec<LayoutItem> { - vec![LayoutItem::Spacing(self.amount)] + async fn layout(&self, _: &mut LayoutContext, _: LayoutConstraints) -> Vec<Layouted> { + vec![Layouted::Spacing(self.amount)] } } |
