Skip to content

Commit fbcc77a

Browse files
Remove more unnecessary bounds
1 parent 2aa3b2f commit fbcc77a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/relation.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ impl<Tuple: Ord> FromIterator<Tuple> for Relation<Tuple> {
9999
}
100100
}
101101

102-
impl<'tuple, Tuple: 'tuple + Copy + Ord> FromIterator<&'tuple Tuple> for Relation<Tuple> {
102+
impl<'tuple, Tuple: 'tuple + Clone + Ord> FromIterator<&'tuple Tuple> for Relation<Tuple> {
103103
fn from_iter<I>(iterator: I) -> Self
104104
where
105105
I: IntoIterator<Item = &'tuple Tuple>,
@@ -108,7 +108,7 @@ impl<'tuple, Tuple: 'tuple + Copy + Ord> FromIterator<&'tuple Tuple> for Relatio
108108
}
109109
}
110110

111-
impl<Tuple: Ord> std::ops::Deref for Relation<Tuple> {
111+
impl<Tuple> std::ops::Deref for Relation<Tuple> {
112112
type Target = [Tuple];
113113
fn deref(&self) -> &Self::Target {
114114
&self.elements[..]

0 commit comments

Comments
 (0)