mirror of
https://github.com/fafhrd91/actix-net
synced 2025-01-31 06:02:07 +01:00
simplify name
This commit is contained in:
parent
2c9b91b366
commit
6ebff22601
@ -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 }
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user