Removed link in std::net::ToSocketAddr's summary sentence

Relative links in trait methods don't resolve in e.g.
std/primitive.tuple.html
:(
This commit is contained in:
lukaramu 2017-03-26 01:01:32 +01:00
parent 347b70901c
commit be713fa4bf

View File

@ -636,7 +636,7 @@ pub trait ToSocketAddrs {
#[stable(feature = "rust1", since = "1.0.0")]
type Iter: Iterator<Item=SocketAddr>;
/// Converts this object to an iterator of resolved [`SocketAddr`]s.
/// Converts this object to an iterator of resolved `SocketAddr`s.
///
/// The returned iterator may not actually yield any values depending on the
/// outcome of any resolution performed.
@ -644,8 +644,6 @@ pub trait ToSocketAddrs {
/// Note that this function may block the current thread while resolution is
/// performed.
///
/// [`SocketAddr`]: ../../std/net/enum.SocketAddr.html
///
/// # Errors
///
/// Any errors encountered during resolution will be returned as an [`Err`].