Remove lifetimes
This commit is contained in:
parent
cecb0b58a7
commit
469e9f6bd2
|
@ -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),
|
||||
|
|
Loading…
Reference in a new issue