mirror of
https://github.com/actix/actix-web.git
synced 2025-01-03 13:58:44 +00:00
use String as default type for Connector
This commit is contained in:
parent
361ffd8d2f
commit
918c764641
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue