summaryrefslogtreecommitdiffstats
path: root/globset
diff options
context:
space:
mode:
Diffstat (limited to 'globset')
-rw-r--r--globset/README.md2
-rw-r--r--globset/src/lib.rs1
2 files changed, 1 insertions, 2 deletions
diff --git a/globset/README.md b/globset/README.md
index f5caf22a..5d54172a 100644
--- a/globset/README.md
+++ b/globset/README.md
@@ -4,7 +4,7 @@ Cross platform single glob and glob set matching. Glob set matching is the
process of matching one or more glob patterns against a single candidate path
simultaneously, and returning all of the globs that matched.
-[![Linux build status](https://api.travis-ci.org/BurntSushi/ripgrep.png)](https://travis-ci.org/BurntSushi/ripgrep)
+[![Linux build status](https://api.travis-ci.org/BurntSushi/ripgrep.svg)](https://travis-ci.org/BurntSushi/ripgrep)
[![Windows build status](https://ci.appveyor.com/api/projects/status/github/BurntSushi/ripgrep?svg=true)](https://ci.appveyor.com/project/BurntSushi/ripgrep)
[![](https://img.shields.io/crates/v/globset.svg)](https://crates.io/crates/globset)
diff --git a/globset/src/lib.rs b/globset/src/lib.rs
index 50c92e42..8d26e187 100644
--- a/globset/src/lib.rs
+++ b/globset/src/lib.rs
@@ -470,7 +470,6 @@ impl GlobSetBuilder {
}
/// Add a new pattern to this set.
- #[allow(dead_code)]
pub fn add(&mut self, pat: Glob) -> &mut GlobSetBuilder {
self.pats.push(pat);
self