1
0
mirror of https://github.com/actix/actix-extras.git synced 2025-06-27 10:39:03 +02:00

use actix-net alpha.3 release

This commit is contained in:
Nikolay Kim
2019-12-07 12:28:26 +06:00
parent 7dd676439c
commit ed2f3fe80d
2 changed files with 3 additions and 14 deletions

View File

@ -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()