erickt / rust-zmq

Rust zeromq bindings.
Apache License 2.0
900 stars 194 forks source link

add a few zguide examples, remove mutable references in proxy #185

Closed dysn closed 7 years ago

dysn commented 7 years ago

generally followed the existing examples. However, for the socket methods I use expect rather than asserting is_ok so you get a message if the call fails. Seemed a bit cleaner and gives a clearer error message.

Change to proxy is as per https://github.com/erickt/rust-zmq/commit/b307f7cb076469f5432f772048650a058f43284f

rotty commented 7 years ago

Thanks! I've now pushed your commits to the master branch, after taking the liberty of applying some whitespace cleanup on them (git diff 291bab25..8bd4f682).