From 6ebff22601ff5ae0cb4f38cccff0e938c6e18882 Mon Sep 17 00:00:00 2001 From: Nikolay Kim Date: Wed, 13 Mar 2019 16:38:08 -0700 Subject: [PATCH] simplify name --- actix-connect/src/connect.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actix-connect/src/connect.rs b/actix-connect/src/connect.rs index 0c871350..168e5542 100644 --- a/actix-connect/src/connect.rs +++ b/actix-connect/src/connect.rs @@ -86,7 +86,7 @@ impl Connect<()> { impl Connect { /// Create new `Connect` instance. - pub fn with_request(req: T) -> Connect { + pub fn with(req: T) -> Connect { Connect { req, addr: None } }