1
0
Fork 0
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:
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 struct Connector<T> {
pub struct Connector<T=String> {
resolver: AsyncResolver,
req: PhantomData<T>,
}