diff options
| author | Laurenz <laurmaedje@gmail.com> | 2019-12-04 20:20:02 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2019-12-04 20:20:02 +0100 |
| commit | f72b1505bebf8d2fe1a60d386a3a3c3b67d4f903 (patch) | |
| tree | 09fa7137a2bae5454e6f9cecc1936633c90965d4 /src/func/mod.rs | |
| parent | 9fb31defd037a90bf8f9e38fa33acae23a70b269 (diff) | |
Unify error types ♾
Diffstat (limited to 'src/func/mod.rs')
| -rw-r--r-- | src/func/mod.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/func/mod.rs b/src/func/mod.rs index b16eecb8..31e31592 100644 --- a/src/func/mod.rs +++ b/src/func/mod.rs @@ -16,7 +16,7 @@ pub mod prelude { pub use super::args::*; pub use super::{Scope, ParseFunc, LayoutFunc, Command, Commands}; pub use crate::syntax::{SyntaxTree, FuncHeader, FuncArgs, Expression, Spanned, Span}; - pub use crate::syntax::{parse, ParseContext, ParseError, ParseResult}; + pub use crate::syntax::{parse, ParseContext, ParseResult}; pub use crate::size::{Size, Size2D, SizeBox}; pub use crate::style::{PageStyle, TextStyle}; pub use crate::layout::{ @@ -24,8 +24,7 @@ pub mod prelude { LayoutContext, LayoutSpace, LayoutSpaces, LayoutAxes, Axis, GenericAxisKind, SpecificAxisKind, LayoutAlignment, Alignment, - SpacingKind, - LayoutError, LayoutResult, + SpacingKind, LayoutResult, }; } |
