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

simplify name

This commit is contained in:
Nikolay Kim 2019-03-13 16:38:08 -07:00
parent 2c9b91b366
commit 6ebff22601

View File

@ -86,7 +86,7 @@ impl Connect<()> {
impl<T: Address> Connect<T> {
/// Create new `Connect` instance.
pub fn with_request(req: T) -> Connect<T> {
pub fn with(req: T) -> Connect<T> {
Connect { req, addr: None }
}