diff options
| author | Laurenz <laurmaedje@gmail.com> | 2019-10-13 13:10:21 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2019-10-13 13:10:21 +0200 |
| commit | 7c0899b5373cdc4f1083a0a8515856207c431423 (patch) | |
| tree | ee1ecade4022f1fa3f666feb55097f7bdcae69ed /src/library/mod.rs | |
| parent | 5c04185892947969005ffcf6412d7190dafb3a79 (diff) | |
Run rustfmt 🚿
Diffstat (limited to 'src/library/mod.rs')
| -rw-r--r-- | src/library/mod.rs | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/src/library/mod.rs b/src/library/mod.rs index 848ba847..f3156b4a 100644 --- a/src/library/mod.rs +++ b/src/library/mod.rs @@ -7,11 +7,11 @@ mod styles; /// Useful imports for creating your own functions. pub mod prelude { - pub use crate::syntax::{SyntaxTree, FuncHeader, Expression}; - pub use crate::parsing::{parse, ParseContext, ParseResult, ParseError}; - pub use crate::layout::{layout_tree, LayoutContext, MultiLayout, Layout}; - pub use crate::layout::{LayoutResult, LayoutError}; - pub use crate::func::{Function, Command, FuncCommands}; + pub use crate::func::{Command, FuncCommands, Function}; + pub use crate::layout::{layout_tree, Layout, LayoutContext, MultiLayout}; + pub use crate::layout::{LayoutError, LayoutResult}; + pub use crate::parsing::{parse, ParseContext, ParseError, ParseResult}; + pub use crate::syntax::{Expression, FuncHeader, SyntaxTree}; pub fn err<S: Into<String>, T>(message: S) -> ParseResult<T> { Err(ParseError::new(message)) @@ -19,8 +19,7 @@ pub mod prelude { } pub use align::AlignFunc; -pub use styles::{ItalicFunc, BoldFunc, MonospaceFunc}; - +pub use styles::{BoldFunc, ItalicFunc, MonospaceFunc}; /// Create a scope with all standard functions. pub fn std() -> Scope { |
