We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59218d1 commit 62fef07Copy full SHA for 62fef07
timely/src/progress/operate.rs
@@ -74,7 +74,7 @@ impl<TS> Default for PortConnectivity<TS> {
74
75
impl<TS> PortConnectivity<TS> {
76
/// Inserts an element by reference, ensuring that the index exists.
77
- pub fn insert(&mut self, index: usize, element: TS) -> bool where TS : crate::PartialOrder + Clone {
+ pub fn insert(&mut self, index: usize, element: TS) -> bool where TS : crate::PartialOrder {
78
self.tree.entry(index).or_default().insert(element)
79
}
80
0 commit comments