select_loop macro is in fact not visible; fixed that temporarily

This commit is contained in:
Vladimir Komendantskiy 2018-04-04 12:20:32 +01:00
parent ef2ec016e4
commit bad5fd47a7
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ where Vec<u8>: From<T>
scope.spawn(move || {
// Unfolded application of `select_loop!`
let mut sel = channel::Select::new();
select_loop! { loop {
loop { loop {
// Receive a multicast message from the manager thread.
if let Ok(message) = sel.recv(&rx) {
debug!("Node {} <- {:?}", node_index, message);