mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2025-11-23 21:54:45 +02:00
committed by
Andrew Gallant
parent
c007d89145
commit
33b44812c0
@@ -322,7 +322,7 @@ impl GlobSet {
|
||||
|
||||
/// Create an empty `GlobSet`. An empty set matches nothing.
|
||||
#[inline]
|
||||
pub fn empty() -> GlobSet {
|
||||
pub const fn empty() -> GlobSet {
|
||||
GlobSet { len: 0, strats: vec![] }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user