mirror of
https://github.com/fafhrd91/actix-web
synced 2025-09-02 09:36:39 +02:00
use String as default type for Connector
This commit is contained in:
@@ -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>,
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user