From d8b0ce88a5cea4484331a36fabab2afd8311966f Mon Sep 17 00:00:00 2001 From: Nikolay Kim Date: Thu, 28 Dec 2017 12:27:46 -0800 Subject: [PATCH] fix guide example --- guide/src/qs_3_5.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guide/src/qs_3_5.md b/guide/src/qs_3_5.md index 3a3e04c4f..7ed1ce7da 100644 --- a/guide/src/qs_3_5.md +++ b/guide/src/qs_3_5.md @@ -55,7 +55,7 @@ fn main() { .bind("127.0.0.1:0").expect("Can not bind to 127.0.0.1:0") .spawn(); - let _ = addr.call_fut(dev::StopServer).wait(); // <- Send `StopServer` message to server. + let _ = addr.call_fut(dev::StopServer{graceful: true}).wait(); // <- Send `StopServer` message to server. } ```