Skip to content

Commit

Permalink
fmt: reduce signature verbosity
Browse files Browse the repository at this point in the history
  • Loading branch information
nc7s committed Nov 9, 2023
1 parent 5e7d0e4 commit 69094ae
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/replacer/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,7 @@ impl Replacer {
})
}

pub(crate) fn replace<'a>(
&'a self,
content: &'a [u8],
) -> std::borrow::Cow<'a, [u8]> {
pub(crate) fn replace<'a>(&'a self, content: &'a [u8]) -> Cow<'a, [u8]> {
let regex = &self.regex;
let limit = self.replacements;
let use_color = false;
Expand Down

0 comments on commit 69094ae

Please sign in to comment.