Fix link to upgrade::Builder (#1401)

The auto-linking didn't work properly as there is a method called `upgrade`
within the transport module.
This commit is contained in:
Volker Mische
2020-01-22 08:06:54 -06:00
committed by Pierre Krieger
parent 7d0c80fce1
commit 3405fc8b32

View File

@ -208,7 +208,8 @@ pub trait Transport {
timeout::TransportTimeout::with_ingoing_timeout(self, timeout)
}
/// Begins a series of protocol upgrades via an [`upgrade::Builder`].
/// Begins a series of protocol upgrades via an
/// [`upgrade::Builder`](core::transport::upgrade::Builder).
fn upgrade(self, version: upgrade::Version) -> upgrade::Builder<Self>
where
Self: Sized,