summaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2022-04-02 08:58:48 +0300
committerLars Wirzenius <liw@liw.fi>2022-04-10 15:27:08 +0300
commita3d768162e70004d207a40d803f5d17eeea8593a (patch)
tree3f65bc109526f0dc69861cd0ee995e2ca5ccefea /src/lib.rs
parent68c09d2407b329ac03fcd9f25ba293a3a6201689 (diff)
downloadsubplot-a3d768162e70004d207a40d803f5d17eeea8593a.tar.gz
refactor: collect warnings for a document in its Document
Change places where warnings used to be written out so the warnings are pushed into the list in Document instead. Sponsored-by: author
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 314ad2a..4bef83a 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -16,6 +16,8 @@ extern crate pandoc_ast_08 as pandoc_ast;
mod error;
pub use error::Result;
pub use error::SubplotError;
+pub use error::Warning;
+pub use error::Warnings;
pub mod resource;