Skip to content

Commit 79c0e4a

Browse files
committed
rebase
Signed-off-by: Moritz Hoffmann <[email protected]>
1 parent efbada0 commit 79c0e4a

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

timely/examples/logging-send.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ fn main() {
2525
worker.log_register().insert::<TimelyProgressEvent,_>("timely/progress", |_time, data|
2626
data.iter().for_each(|x| {
2727
println!("PROGRESS: {:?}", x);
28-
let (_, _, ev) = x;
28+
let (_, ev) = x;
2929
print!("PROGRESS: TYPED MESSAGES: ");
3030
for (n, p, t, d) in ev.messages.iter() {
3131
print!("{:?}, ", (n, p, t.as_any().downcast_ref::<usize>(), d));

timely/src/execute.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
//! Starts a timely dataflow execution from configuration information and per-worker logic.
22
3-
use timely_communication::logging::CommunicationEvent;
43
use crate::communication::{initialize_from, Allocator, allocator::AllocateBuilder, WorkerGuards};
54
use crate::dataflow::scopes::Child;
65
use crate::worker::Worker;

timely/src/logging.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ pub struct BatchLogger<T, P> where P: EventPusher<Duration, Vec<(Duration, T)>>
2121
_phantom: ::std::marker::PhantomData<T>,
2222
}
2323

24-
impl<T, E, P> BatchLogger<T, P> where P: EventPusher<Duration, Vec<(Duration, T)>> {
24+
impl<T, P> BatchLogger<T, P> where P: EventPusher<Duration, Vec<(Duration, T)>> {
2525
/// Creates a new batch logger.
2626
pub fn new(event_pusher: P) -> Self {
2727
BatchLogger {
@@ -43,7 +43,7 @@ impl<T, E, P> BatchLogger<T, P> where P: EventPusher<Duration, Vec<(Duration, T)
4343
self.time = time;
4444
}
4545
}
46-
impl<T, P> Drop for BatchLogger<T, P> where P: EventPusher<Duration, Vec<(Duration, E, T)>> {
46+
impl<T, P> Drop for BatchLogger<T, P> where P: EventPusher<Duration, Vec<(Duration, T)>> {
4747
fn drop(&mut self) {
4848
self.event_pusher.push(Event::Progress(vec![(self.time, -1)]));
4949
}

0 commit comments

Comments
 (0)