diff options
author | Clement Tsang <34804052+ClementTsang@users.noreply.github.com> | 2023-06-02 00:53:38 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-02 00:53:38 -0400 |
commit | 852e2e86c7230cb339c7d0482d596194dbb59415 (patch) | |
tree | 93cc8f5f6909487e3fe5f5b958846f715f64455f /src/options | |
parent | 87a793f50176d29565268ef176248b2bb736d9b7 (diff) |
refactor: remove typed-builder (#1181)
Diffstat (limited to 'src/options')
-rw-r--r-- | src/options/layout_options.rs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/options/layout_options.rs b/src/options/layout_options.rs index d1a584d0..54a07f12 100644 --- a/src/options/layout_options.rs +++ b/src/options/layout_options.rs @@ -218,11 +218,9 @@ impl Row { } } - Ok(BottomRow::builder() + Ok(BottomRow::new(children) .total_col_ratio(total_col_ratio) - .row_height_ratio(row_ratio) - .children(children) - .build()) + .row_height_ratio(row_ratio)) } } |