Update hyper and other fixes

This commit is contained in:
Lucio Franco
2019-08-30 23:30:12 -04:00
parent 91a3c0965a
commit 0393172f95
8 changed files with 10 additions and 15 deletions
-5
View File
@@ -22,13 +22,8 @@ impl MyGreeter {
let string = &self.data;
let when = tokio::clock::now() + Duration::from_millis(100);
Delay::new(when).await;
println!("My data: {:?}", string);
Delay::new(when).await;
let reply = hello_world::HelloReply {
message: "Zomg, it works!".into(),
};