mirror of
https://github.com/Hopiu/lychee.git
synced 2026-03-16 20:50:25 +00:00
Minor improvements
This commit is contained in:
parent
23fbd0b0d5
commit
4bdf962698
2 changed files with 2 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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>,
|
||||
|
|
|
|||
Loading…
Reference in a new issue