summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorOwen Jacobson <owen@grimoire.ca>2025-07-18 01:12:36 -0400
committerOwen Jacobson <owen@grimoire.ca>2025-07-22 18:19:15 -0400
commit792de8e49fa8a3c04bfb747adadf71572d753055 (patch)
tree98b1c0f92a35d91dafc2dd7b56b32260a3d2b6d9 /src/main.rs
parenta5df5a88400e64ea752c396bfbea868df2f3f714 (diff)
Remove `pilcrow::cli::Error` from the lib crate's public interface.
This might be the pettiest rude change I've ever made to a Rust program. If I saw this - or did this - in code _intend_ to be used as a library, I'd be appalled.
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 427294e..b8981d0 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -3,7 +3,7 @@ use clap::Parser;
use pilcrow::cli;
#[tokio::main]
-async fn main() -> Result<(), cli::Error> {
+async fn main() -> Result<(), impl std::error::Error> {
let args = cli::Args::parse();
args.run().await
}