aboutsummaryrefslogtreecommitdiff
path: root/src/hooks/sed/parser.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/hooks/sed/parser.rs')
-rw-r--r--src/hooks/sed/parser.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hooks/sed/parser.rs b/src/hooks/sed/parser.rs
index 61e719d..4920645 100644
--- a/src/hooks/sed/parser.rs
+++ b/src/hooks/sed/parser.rs
@@ -98,7 +98,7 @@ impl Command {
Ok(output)
}
- pub fn execute(self, target: &str) -> Cow<str> {
+ pub fn execute(self, target: &str) -> Cow<'_, str> {
let result: Cow<str>;
if self.flags.contains(Flags::GLOBAL) {