File tree Expand file tree Collapse file tree 2 files changed +2
-8
lines changed
timely/src/dataflow/operators/core/capture Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -22,12 +22,6 @@ pub trait Container: Default {
2222 /// The type of elements when draining the container.
2323 type Item < ' a > where Self : ' a ;
2424
25- /// Push `item` into self
26- #[ inline]
27- fn push < T > ( & mut self , item : T ) where Self : PushInto < T > {
28- self . push_into ( item)
29- }
30-
3125 /// The number of elements in this container
3226 ///
3327 /// This number is used in progress tracking to confirm the receipt of some number
@@ -165,7 +159,7 @@ impl<T, C: SizableContainer + PushInto<T>> PushInto<T> for CapacityContainerBuil
165159 self . current . ensure_capacity ( & mut self . empty ) ;
166160
167161 // Push item
168- self . current . push ( item) ;
162+ self . current . push_into ( item) ;
169163
170164 // Maybe flush
171165 if self . current . at_capacity ( ) {
Original file line number Diff line number Diff line change 7171 to_sort. sort ( ) ;
7272 let mut sorted = C :: default ( ) ;
7373 for datum in to_sort. into_iter ( ) {
74- sorted. push ( datum) ;
74+ sorted. push_into ( datum) ;
7575 }
7676 if !sorted. is_empty ( ) {
7777 result. push ( ( time, sorted) ) ;
You can’t perform that action at this time.
0 commit comments