Skip to content

Commit efd0442

Browse files
committed
Add backticks
1 parent 1af952c commit efd0442

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

src/libstd/net/addr.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ pub enum SocketAddr {
6464
///
6565
/// See [`SocketAddr`] for a type encompassing both IPv4 and IPv6 socket addresses.
6666
///
67-
/// The size of a SocketAddrV4 struct may vary depending on the target operating
67+
/// The size of a `SocketAddrV4` struct may vary depending on the target operating
6868
/// system.
6969
///
7070
/// [IETF RFC 793]: https://tools.ietf.org/html/rfc793
@@ -94,7 +94,7 @@ pub struct SocketAddrV4 { inner: c::sockaddr_in }
9494
///
9595
/// See [`SocketAddr`] for a type encompassing both IPv4 and IPv6 socket addresses.
9696
///
97-
/// The size of a SocketAddrV6 struct may vary depending on the target operating
97+
/// The size of a `SocketAddrV6` struct may vary depending on the target operating
9898
/// system.
9999
///
100100
/// [IETF RFC 2553, Section 3.3]: https://tools.ietf.org/html/rfc2553#section-3.3

src/libstd/net/ip.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ use sys_common::{AsInner, FromInner};
2626
/// This enum can contain either an [`Ipv4Addr`] or an [`Ipv6Addr`], see their
2727
/// respective documentation for more details.
2828
///
29-
/// The size of an IpAddr instance may vary depending on the target operating
29+
/// The size of an `IpAddr` instance may vary depending on the target operating
3030
/// system.
3131
///
3232
/// [`Ipv4Addr`]: ../../std/net/struct.Ipv4Addr.html
@@ -64,7 +64,7 @@ pub enum IpAddr {
6464
///
6565
/// See [`IpAddr`] for a type encompassing both IPv4 and IPv6 addresses.
6666
///
67-
/// The size of an Ipv4Addr struct may vary depending on the target operating
67+
/// The size of an `Ipv4Addr` struct may vary depending on the target operating
6868
/// system.
6969
///
7070
/// [IETF RFC 791]: https://tools.ietf.org/html/rfc791
@@ -99,7 +99,7 @@ pub struct Ipv4Addr {
9999
///
100100
/// See [`IpAddr`] for a type encompassing both IPv4 and IPv6 addresses.
101101
///
102-
/// The size of an Ipv6Addr struct may vary depending on the target operating
102+
/// The size of an `Ipv6Addr` struct may vary depending on the target operating
103103
/// system.
104104
///
105105
/// [IETF RFC 4291]: https://tools.ietf.org/html/rfc4291

src/libstd/time.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ pub use core::time::Duration;
4949
/// allows measuring the duration between two instants (or comparing two
5050
/// instants).
5151
///
52-
/// The size of an Instant struct may vary depending on the target operating
52+
/// The size of an `Instant` struct may vary depending on the target operating
5353
/// system.
5454
///
5555
/// Example:
@@ -91,7 +91,7 @@ pub struct Instant(time::Instant);
9191
/// fixed point in time, a `SystemTime` can be converted to a human-readable time,
9292
/// or perhaps some other string representation.
9393
///
94-
/// The size of a SystemTime struct may vary depending on the target operating
94+
/// The size of a `SystemTime` struct may vary depending on the target operating
9595
/// system.
9696
///
9797
/// [`Instant`]: ../../std/time/struct.Instant.html

0 commit comments

Comments
 (0)