diff options
| author | Laurenz <laurmaedje@gmail.com> | 2020-10-04 23:31:35 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2020-10-04 23:31:35 +0200 |
| commit | 335fa2d118718b4dba539294a8ef6c96c5bbf09e (patch) | |
| tree | 08e48d0c18c350bc9479d0d801d2320628d8e4a2 /src/library/align.rs | |
| parent | 605ab104c5e041c345007020d277b4c6267debe6 (diff) | |
Small improvements 🍪
Diffstat (limited to 'src/library/align.rs')
| -rw-r--r-- | src/library/align.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/library/align.rs b/src/library/align.rs index 674ecceb..eaef4d87 100644 --- a/src/library/align.rs +++ b/src/library/align.rs @@ -1,4 +1,4 @@ -use super::*; +use crate::prelude::*; /// `align`: Align content along the layouting axes. /// @@ -16,7 +16,6 @@ use super::*; /// There may not be two alignment specifications for the same axis. pub async fn align(mut args: Args, ctx: &mut LayoutContext) -> Value { let body = args.find::<SynTree>(); - let h = args.get::<_, Spanned<SpecAlign>>(ctx, "horizontal"); let v = args.get::<_, Spanned<SpecAlign>>(ctx, "vertical"); let pos = args.find_all::<Spanned<SpecAlign>>(); |
