summaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2020-09-19 16:11:19 +0300
committerLars Wirzenius <liw@liw.fi>2020-09-19 16:15:25 +0300
commit576e29025b893c4844acd7f4206a77e391176b5f (patch)
treeb101f5a304575c79658442f38d342acd560dd928 /src/lib.rs
parent5af231e686849eb05115cd627f935ac674321dad (diff)
downloadsubplot-576e29025b893c4844acd7f4206a77e391176b5f.tar.gz
refactor: split src/ast.rs into src/doc.rs and src/style.rs
Also, fix anywhere that's affected by the change.
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/lib.rs b/src/lib.rs
index b976afd..4b1de12 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -32,9 +32,11 @@ pub use policy::get_basedir_from;
mod metadata;
pub use metadata::Metadata;
-mod ast;
-pub use ast::Document;
-pub use ast::Style;
+mod doc;
+pub use doc::Document;
+
+mod style;
+pub use style::Style;
mod scenarios;
pub use scenarios::Scenario;