Simplify lib.rs example

This commit is contained in:
Tim Kuehn
2016-02-25 23:30:00 -08:00
parent 72a9f8f70d
commit 5ac4b710a5

View File

@@ -30,8 +30,7 @@
//! }
//!
//! fn main() {
//! let addr = "127.0.0.1:9000";
//! let serve_handle = Server.spawn(addr).unwrap();
//! let serve_handle = Server.spawn("localhost:0").unwrap();
//! let client = Client::new(serve_handle.dialer()).unwrap();
//! assert_eq!(3, client.add(1, 2).unwrap());
//! assert_eq!("Hello, Mom!".to_string(),