mirror of
https://github.com/fafhrd91/actix-net
synced 2024-11-27 21:22:57 +01:00
use String as default type for Connector
This commit is contained in:
parent
361ffd8d2f
commit
918c764641
@ -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>,
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user