mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2025-09-16 08:26:28 +02:00
committed by
Andrew Gallant
parent
b18b78e5c4
commit
a174f36106
@@ -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