mirror of
https://github.com/uutils/grep.git
synced 2026-06-10 16:15:11 -07:00
Add Default impl for GlobSet to satisfy clippy
This commit is contained in:
@@ -864,6 +864,12 @@ fn expand_num_shorthand(args: impl Iterator<Item = OsString>) -> Vec<OsString> {
|
||||
out
|
||||
}
|
||||
|
||||
impl Default for GlobSet {
|
||||
fn default() -> Self {
|
||||
Self::new()
|
||||
}
|
||||
}
|
||||
|
||||
impl GlobSet {
|
||||
/// Create an empty GlobSet.
|
||||
pub fn new() -> Self {
|
||||
|
||||
Reference in New Issue
Block a user