summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2024-03-10 07:17:57 +0200
committerLars Wirzenius <liw@liw.fi>2024-03-10 07:17:57 +0200
commit0a380a7d3c22701c09180382913333d556afb746 (patch)
treeba4402771b4636556f704d94794e660cfaf46c67
parent586d37be4abeae195e6991332065847689d4d215 (diff)
downloadpandoc-filter-diagram-0a380a7d3c22701c09180382913333d556afb746.tar.gz
chore: cargo fmt
-rw-r--r--src/lib.rs14
1 files changed, 6 insertions, 8 deletions
diff --git a/src/lib.rs b/src/lib.rs
index c88fdcc..aa34472 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -92,7 +92,8 @@ pub enum DiagramError {
#[error("failure rendering pikchr diagram: {0}")]
PikchrRenderError(
/// The error message from pikchr.
- String),
+ String,
+ ),
/// When rendering a roadmap, something went wrong.
#[error("failure rendering roadmap diagram: {0}")]
@@ -106,12 +107,11 @@ pub enum DiagramError {
InvokeFailed(
/// Name of the program.
String,
-
/// Path with which the program was invoked.
PathBuf,
-
/// Standard error output of program.
- String),
+ String,
+ ),
/// A helper program failed
///
@@ -126,15 +126,13 @@ pub enum DiagramError {
HelperFailed(
/// Name of the program.
String,
-
/// Path with which the program was invoked.
PathBuf,
-
/// How did the program end? Status code or signal?
String,
-
/// Standard error output of program.
- String),
+ String,
+ ),
/// I/O error
///