From da5aaffdc7d4455724c542b9bd8f6bbd4647519c Mon Sep 17 00:00:00 2001 From: Daniel Hofstetter Date: Fri, 13 Nov 2026 10:18:08 +0100 Subject: [PATCH 1/2] Cargo.toml: remove redundant package.homepage --- Cargo.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 604c9bf..dd32a14 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,7 +6,6 @@ edition = "2024" rust-version = "1.88.0" version = "0.2.0" license = "MIT" -homepage = "https://github.com/uutils/grep" keywords = ["grep", "uutils", "cross-platform", "cli", "utility"] categories = ["command-line-utilities"] From edc906a0391fbe287de4503f0245302fb4cbec4a Mon Sep 17 00:00:00 2001 From: Daniel Hofstetter Date: Fri, 13 Nov 2026 10:19:46 +0100 Subject: [PATCH 2/2] clippy: fix warning from needless_bool lint --- src/matcher.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/matcher.rs b/src/matcher.rs index 5efacc3..02c1626 100644 --- a/src/matcher.rs +++ b/src/matcher.rs @@ -78,10 +78,7 @@ impl<'a> Matcher<'a> { } any_selected = true; // Drop zero-length matches from the output. - if start == end { - return false; - } - true + start != end }) .collect();