Minor improvements

This commit is contained in:
Thomas Zahner 2025-07-11 19:28:22 +02:00
parent 23fbd0b0d5
commit 4bdf962698
2 changed files with 2 additions and 3 deletions

View file

@ -378,8 +378,8 @@ impl ClientBuilder {
};
let filter = Filter {
includes: self.includes.map(std::convert::Into::into),
excludes: self.excludes.map(std::convert::Into::into),
includes: self.includes.map(Into::into),
excludes: self.excludes.map(Into::into),
schemes: self.schemes,
// exclude_all_private option turns on all "private" excludes,
// including private IPs, link-local IPs and loopback IPs

View file

@ -18,7 +18,6 @@ impl RegexFilter {
}
/// Create a new empty regex set.
#[must_use]
pub fn new<I, S>(exprs: I) -> Result<Self, regex::Error>
where
S: AsRef<str>,