1
0
mirror of https://github.com/fafhrd91/actix-net synced 2025-01-31 08:12:07 +01:00

fix doc test

This commit is contained in:
Rob Ede 2021-10-28 20:57:01 +01:00
parent 448626d543
commit 336e98e950
No known key found for this signature in database
GPG Key ID: 97C636207D3EF933

View File

@ -18,8 +18,8 @@ use crate::{Server, ServerBuilder};
///
/// #[actix_rt::main]
/// async fn main() {
/// let srv = TestServer::with(|| fn_service(
/// |sock| async move {
/// let srv = TestServer::with(fn_service(|sock|
/// async move {
/// println!("New connection: {:?}", sock);
/// Ok::<_, ()>(())
/// }