summaryrefslogtreecommitdiff
path: root/library/src/ext.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-11-04 09:30:44 +0100
committerLaurenz <laurmaedje@gmail.com>2022-11-04 11:38:09 +0100
commiteb951c008beea502042db4a3a0e8d1f8b51f6f52 (patch)
tree9856ee4ed0222222669de10e616a580b2a60135e /library/src/ext.rs
parent33928a00dc58250e24da1dae4e5db17e7b598d70 (diff)
Style changes
Diffstat (limited to 'library/src/ext.rs')
-rw-r--r--library/src/ext.rs16
1 files changed, 4 insertions, 12 deletions
diff --git a/library/src/ext.rs b/library/src/ext.rs
index 6f5b1b67..70b69dce 100644
--- a/library/src/ext.rs
+++ b/library/src/ext.rs
@@ -55,24 +55,16 @@ impl ContentExt for Content {
let mut seq = vec![];
if let Some(above) = above {
seq.push(
- layout::VNode {
- amount: above.into(),
- weak: true,
- generated: true,
- }
- .pack(),
+ layout::VNode { amount: above.into(), weak: true, generated: true }
+ .pack(),
);
}
seq.push(self);
if let Some(below) = below {
seq.push(
- layout::VNode {
- amount: below.into(),
- weak: true,
- generated: true,
- }
- .pack(),
+ layout::VNode { amount: below.into(), weak: true, generated: true }
+ .pack(),
);
}