aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Lockyer <thisisdaniellockyer@gmail.com>2017-03-30 12:42:35 +0100
committerDaniel Lockyer <thisisdaniellockyer@gmail.com>2017-04-12 09:29:00 +0100
commite382b8d895e13b7cac6d35a905aa0490f3bb03d1 (patch)
tree52648a4c83fa31b0be8b01de7e575483293fcdf3 /src
parentd1558f78efff59b167f4ce264b18534b125f697a (diff)
downloadmilf-rs-e382b8d895e13b7cac6d35a905aa0490f3bb03d1.tar.gz
milf-rs-e382b8d895e13b7cac6d35a905aa0490f3bb03d1.zip
Remove lifetimes
Diffstat (limited to 'src')
-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),