Skip to content

Commit 3485d8c

Browse files
committed
Remove unused lifetimes
1 parent fcdad3a commit 3485d8c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/rope.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -2029,14 +2029,14 @@ impl std::cmp::PartialEq<Rope> for str {
20292029
}
20302030
}
20312031

2032-
impl<'a> std::cmp::PartialEq<String> for Rope {
2032+
impl std::cmp::PartialEq<String> for Rope {
20332033
#[inline]
20342034
fn eq(&self, other: &String) -> bool {
20352035
self.slice(..) == other.as_str()
20362036
}
20372037
}
20382038

2039-
impl<'a> std::cmp::PartialEq<Rope> for String {
2039+
impl std::cmp::PartialEq<Rope> for String {
20402040
#[inline]
20412041
fn eq(&self, other: &Rope) -> bool {
20422042
self.as_str() == other.slice(..)

0 commit comments

Comments
 (0)