mirror of
https://github.com/actix/actix-web.git
synced 2024-12-22 16:16:40 +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 struct Connector<T> {
|
||||
pub struct Connector<T=String> {
|
||||
resolver: AsyncResolver,
|
||||
req: PhantomData<T>,
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue