From 792de8e49fa8a3c04bfb747adadf71572d753055 Mon Sep 17 00:00:00 2001 From: Owen Jacobson Date: Fri, 18 Jul 2025 01:12:36 -0400 Subject: 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. --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.rs') 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 } -- cgit v1.2.3