aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/tokens.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tokens.rs b/src/tokens.rs
index 6b7c3bc..11f47f5 100644
--- a/src/tokens.rs
+++ b/src/tokens.rs
@@ -422,7 +422,7 @@ impl MaybeString {
}
}
- fn into_cow<'a>(self, input: &'a str) -> Cow<'a, str> {
+ fn into_cow(self, input: &str) -> Cow<str> {
match self {
MaybeString::NotEscaped(start) => Cow::Borrowed(&input[start..]),
MaybeString::Owned(s) => Cow::Owned(s),