diff options
| author | Laurenz <laurmaedje@gmail.com> | 2020-08-30 22:18:55 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2020-08-30 22:18:55 +0200 |
| commit | 181f756a9e8f7b664101058fe91e36b3858c2d02 (patch) | |
| tree | 542e7c694e91d8cc91fa97a328e9bda0567db679 /src/library/boxed.rs | |
| parent | 0d44cf532136f3ba8e34d6f967f9e844cfb9c3f0 (diff) | |
Format everything with rustfmt! 💚
Diffstat (limited to 'src/library/boxed.rs')
| -rw-r--r-- | src/library/boxed.rs | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/library/boxed.rs b/src/library/boxed.rs index 5c727bb6..5d98760f 100644 --- a/src/library/boxed.rs +++ b/src/library/boxed.rs @@ -1,12 +1,16 @@ -use crate::length::ScaleLength; use super::*; +use crate::length::ScaleLength; /// `box`: Layouts its contents into a box. /// /// # Keyword arguments /// - `width`: The width of the box (length of relative to parent's width). /// - `height`: The height of the box (length of relative to parent's height). -pub async fn boxed(_: Span, mut args: TableValue, mut ctx: LayoutContext<'_>) -> Pass<Value> { +pub async fn boxed( + _: Span, + mut args: TableValue, + mut ctx: LayoutContext<'_>, +) -> Pass<Value> { let mut f = Feedback::new(); let content = args.take::<SyntaxTree>().unwrap_or(SyntaxTree::new()); |
