From 50b2f62c8013454d3fc148995b70319bad44d42c Mon Sep 17 00:00:00 2001 From: Nikolay Kim Date: Tue, 19 Dec 2017 18:36:29 -0800 Subject: [PATCH] update guide section about ssl --- guide/src/qs_13.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/guide/src/qs_13.md b/guide/src/qs_13.md index ee0c21f17..193b2e109 100644 --- a/guide/src/qs_13.md +++ b/guide/src/qs_13.md @@ -28,7 +28,8 @@ fn main() { HttpServer::new( || Application::new() .resource("/index.html", |r| r.f(index))) - .serve_ssl::<_, ()>("127.0.0.1:8080", pkcs12).unwrap(); + .bind("127.0.0.1:8080").unwrap(); + .serve_ssl(pkcs12).unwrap(); } ```