From 96762f26ca83479522bc9f36cd477fa7e3d5809e Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Sun, 31 May 2026 10:18:32 +0200 Subject: [PATCH] Add Default impl for GlobSet to satisfy clippy --- src/lib.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index 894faa8..df2b56a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -864,6 +864,12 @@ fn expand_num_shorthand(args: impl Iterator) -> Vec { out } +impl Default for GlobSet { + fn default() -> Self { + Self::new() + } +} + impl GlobSet { /// Create an empty GlobSet. pub fn new() -> Self {