summaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2022-05-05 19:28:57 +0300
committerLars Wirzenius <liw@liw.fi>2022-05-05 19:28:57 +0300
commit6498b2eecb21ad87069be8f501f35374745106d9 (patch)
tree18af0fcdb186609452825adb3155badcd4aaa013 /src/lib.rs
parent12059fcb1ce8237e5587773043cd442e036531c2 (diff)
downloadsubplot-6498b2eecb21ad87069be8f501f35374745106d9.tar.gz
refactor: drop the subplot::Result type alias
Replace subplot::Result<T> with Result<T, SubplotError>. I find this now to be clearer, as I don't need to remind myself which Result is being used where. This should not be a breaking change. Sponsored-by: author
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index d253765..3b4e844 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -14,7 +14,6 @@ extern crate pandoc_ast_07 as pandoc_ast;
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;