Update core/src/nodes/tasks/manager.rs

Co-Authored-By: Max Inden <mail@max-inden.de>
This commit is contained in:
Pierre Krieger
2020-01-06 14:50:33 +01:00
committed by GitHub
parent 65a7de49b2
commit be0f18d162

View File

@@ -241,7 +241,7 @@ impl<I, O, H, E, HE, T, C> Manager<I, O, H, E, HE, T, C> {
// Note that the user is expected to call `poll_ready_broadcast` beforehand,
// which returns `Poll::Ready` only if the channel isn't full. Reaching this
// path always indicates a mistake in the code.
log::warn!("start_broadcast called while channel was full");
log::warn!("start_broadcast called while channel was full. Have you called `poll_ready_broadcast` before?");
},
Err(_) => {},
}
@@ -475,4 +475,3 @@ impl<E, T: fmt::Debug> fmt::Debug for ClosedTask<E, T> {
.finish()
}
}