chore(client): fix infinite recursion in TokioThreadpoolGaiResolver::new

This commit is contained in:
Sean McArthur
2018-10-23 13:34:47 -07:00
parent 34d780acd0
commit deaa5d1aa9

View File

@@ -270,7 +270,7 @@ impl TokioThreadpoolGaiResolver {
/// ///
/// **Requires** its futures to be run on the threadpool runtime. /// **Requires** its futures to be run on the threadpool runtime.
pub fn new() -> Self { pub fn new() -> Self {
TokioThreadpoolGaiResolver::new() TokioThreadpoolGaiResolver(())
} }
} }