From c32106628df07a59247e7d674c314ae5d54e991c Mon Sep 17 00:00:00 2001 From: LoricAndre Date: Fri, 8 Nov 2024 08:49:57 +0100 Subject: [PATCH] fix: disable doctest --- skim/Cargo.toml | 1 + skim/src/bin/main.rs | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/skim/Cargo.toml b/skim/Cargo.toml index 532299c6..300cb4f9 100644 --- a/skim/Cargo.toml +++ b/skim/Cargo.toml @@ -14,6 +14,7 @@ edition = "2018" [lib] name = "skim" path = "src/lib.rs" +doctest = false [[bin]] name = "sk" diff --git a/skim/src/bin/main.rs b/skim/src/bin/main.rs index e2584a18..cc1ca714 100644 --- a/skim/src/bin/main.rs +++ b/skim/src/bin/main.rs @@ -52,8 +52,8 @@ fn main() { } else { std::process::exit(2) } - }, - ArgError(e) => e.exit() + } + ArgError(e) => e.exit(), } } }