1
0
mirror of https://github.com/fafhrd91/actix-net synced 2024-11-27 20:12:58 +01:00

use String as default type for Connector

This commit is contained in:
Nikolay Kim 2018-08-29 15:28:16 -07:00
parent 361ffd8d2f
commit 918c764641

View File

@ -46,7 +46,7 @@ pub struct ConnectionInfo {
pub addr: SocketAddr, pub addr: SocketAddr,
} }
pub struct Connector<T> { pub struct Connector<T=String> {
resolver: AsyncResolver, resolver: AsyncResolver,
req: PhantomData<T>, req: PhantomData<T>,
} }