Fixed typo in timeout docs

This commit is contained in:
Emi Tatsuo 2020-11-17 21:01:54 -05:00
parent 71cf4d33f2
commit aa2dbbf67a
Signed by: Emi
GPG key ID: 68FAB2E2E6DFC98B

View file

@ -137,7 +137,7 @@ impl<A: ToSocketAddrs> Builder<A> {
/// before the client has another second to receive the response.
///
/// If you would like a timeout for your code itself, please use
/// ['tokio::time::Timeout`] to implement it internally.
/// [`tokio::time::Timeout`] to implement it internally.
///
/// The default timeout is 1 second.
pub fn set_timeout(mut self, timeout: Duration) -> Self {