diff options
author | Lars Wirzenius <liw@liw.fi> | 2022-04-02 08:58:48 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2022-04-10 15:27:08 +0300 |
commit | a3d768162e70004d207a40d803f5d17eeea8593a (patch) | |
tree | 3f65bc109526f0dc69861cd0ee995e2ca5ccefea /src/lib.rs | |
parent | 68c09d2407b329ac03fcd9f25ba293a3a6201689 (diff) | |
download | subplot-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.rs | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; |