Updated examples because of new for_each_incoming return type.

This commit is contained in:
Aaron Weiss 2017-06-25 05:00:44 -04:00
parent b95ed76088
commit b4893377a6
No known key found for this signature in database
GPG key ID: 0237035D9BF03AE2
3 changed files with 4 additions and 4 deletions

View file

@ -32,7 +32,7 @@ fn main() {
server.identify().unwrap();
server.for_each_incoming(|message| {
// Do message processing.
})
}).unwrap()
}
```
@ -55,7 +55,7 @@ fn main() {
server.identify().unwrap();
server.for_each_incoming(|message| {
// Do message processing.
})
}).unwrap()
}
```

View file

@ -25,5 +25,5 @@ fn main() {
}
_ => (),
}
})
}).unwrap()
}

View file

@ -25,5 +25,5 @@ fn main() {
}
_ => (),
}
})
}).unwrap()
}