Merge pull request #15 from tikue/readme

Make a line in the readme a bit cleaner
This commit is contained in:
shaladdle
2016-02-18 01:24:11 -08:00

View File

@@ -32,7 +32,7 @@ impl hello_service::Service for HelloService {
fn main() {
let server_handle = hello_service::serve("0.0.0.0:0", HelloService, None).unwrap();
let client = hello_service::Client::new(server_handle.local_addr(), None).unwrap();
assert_eq!("Hello, Mom!".to_owned(), client.hello("Mom".to_owned()).unwrap());
assert_eq!("Hello, Mom!", client.hello("Mom".into()).unwrap());
drop(client);
server_handle.shutdown();
}