From ed2f3fe80d0d9a94bcdb3f971e87c4de75f9d9ee Mon Sep 17 00:00:00 2001
From: Nikolay Kim <fafhrd91@gmail.com>
Date: Sat, 7 Dec 2019 12:28:26 +0600
Subject: [PATCH] use actix-net alpha.3 release

---
 Cargo.toml    | 14 ++------------
 src/server.rs |  3 +--
 2 files changed, 3 insertions(+), 14 deletions(-)

diff --git a/Cargo.toml b/Cargo.toml
index ee3158a1..fa804116 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -93,7 +93,7 @@ mime = "0.3"
 net2 = "0.2.33"
 parking_lot = "0.9"
 pin-project = "0.4.6"
-regex = "1.0"
+regex = "1.3"
 serde = { version = "1.0", features=["derive"] }
 serde_json = "1.0"
 serde_urlencoded = "0.6.1"
@@ -106,7 +106,7 @@ rust-tls = { version = "0.16", package="rustls", optional = true }
 
 [dev-dependencies]
 # actix = "0.8.3"
-actix-connect = "1.0.0-alpha.2"
+actix-connect = "1.0.0-alpha.3"
 actix-http-test = "0.3.0-alpha.2"
 rand = "0.7"
 env_logger = "0.6"
@@ -130,13 +130,3 @@ actix-session = { path = "actix-session" }
 actix-files = { path = "actix-files" }
 actix-multipart = { path = "actix-multipart" }
 awc = { path = "awc" }
-
-actix-codec = { git = "https://github.com/actix/actix-net.git" }
-actix-connect = { git = "https://github.com/actix/actix-net.git" }
-actix-rt = { git = "https://github.com/actix/actix-net.git" }
-actix-server = { git = "https://github.com/actix/actix-net.git" }
-actix-service = { git = "https://github.com/actix/actix-net.git" }
-actix-testing = { git = "https://github.com/actix/actix-net.git" }
-actix-tls = { git = "https://github.com/actix/actix-net.git" }
-actix-utils = { git = "https://github.com/actix/actix-net.git" }
-actix-router = { git = "https://github.com/actix/actix-net.git" }
diff --git a/src/server.rs b/src/server.rs
index f5883c0d..57adec52 100644
--- a/src/server.rs
+++ b/src/server.rs
@@ -516,13 +516,12 @@ where
     /// This methods panics if no socket address can be bound or an `Actix` system is not yet
     /// configured.
     ///
-    /// ```rust
+    /// ```rust,no_run
     /// use std::io;
     /// use actix_web::{web, App, HttpResponse, HttpServer};
     ///
     /// #[actix_rt::main]
     /// async fn main() -> io::Result<()> {
-    /// #   actix_rt::System::current().stop();
     ///     HttpServer::new(|| App::new().service(web::resource("/").to(|| HttpResponse::Ok())))
     ///         .bind("127.0.0.1:0")?
     ///         .start()