Skip to content

Commit be713fa

Browse files
committed
Removed link in std::net::ToSocketAddr's summary sentence
Relative links in trait methods don't resolve in e.g. std/primitive.tuple.html :(
1 parent 347b709 commit be713fa

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/libstd/net/addr.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -636,16 +636,14 @@ pub trait ToSocketAddrs {
636636
#[stable(feature = "rust1", since = "1.0.0")]
637637
type Iter: Iterator<Item=SocketAddr>;
638638

639-
/// Converts this object to an iterator of resolved [`SocketAddr`]s.
639+
/// Converts this object to an iterator of resolved `SocketAddr`s.
640640
///
641641
/// The returned iterator may not actually yield any values depending on the
642642
/// outcome of any resolution performed.
643643
///
644644
/// Note that this function may block the current thread while resolution is
645645
/// performed.
646646
///
647-
/// [`SocketAddr`]: ../../std/net/enum.SocketAddr.html
648-
///
649647
/// # Errors
650648
///
651649
/// Any errors encountered during resolution will be returned as an [`Err`].

0 commit comments

Comments
 (0)