Add backticks
This commit is contained in:
parent
1af952cc49
commit
efd04423c3
@ -64,7 +64,7 @@ pub enum SocketAddr {
|
||||
///
|
||||
/// See [`SocketAddr`] for a type encompassing both IPv4 and IPv6 socket addresses.
|
||||
///
|
||||
/// The size of a SocketAddrV4 struct may vary depending on the target operating
|
||||
/// The size of a `SocketAddrV4` struct may vary depending on the target operating
|
||||
/// system.
|
||||
///
|
||||
/// [IETF RFC 793]: https://tools.ietf.org/html/rfc793
|
||||
@ -94,7 +94,7 @@ pub struct SocketAddrV4 { inner: c::sockaddr_in }
|
||||
///
|
||||
/// See [`SocketAddr`] for a type encompassing both IPv4 and IPv6 socket addresses.
|
||||
///
|
||||
/// The size of a SocketAddrV6 struct may vary depending on the target operating
|
||||
/// The size of a `SocketAddrV6` struct may vary depending on the target operating
|
||||
/// system.
|
||||
///
|
||||
/// [IETF RFC 2553, Section 3.3]: https://tools.ietf.org/html/rfc2553#section-3.3
|
||||
|
@ -26,7 +26,7 @@ use sys_common::{AsInner, FromInner};
|
||||
/// This enum can contain either an [`Ipv4Addr`] or an [`Ipv6Addr`], see their
|
||||
/// respective documentation for more details.
|
||||
///
|
||||
/// The size of an IpAddr instance may vary depending on the target operating
|
||||
/// The size of an `IpAddr` instance may vary depending on the target operating
|
||||
/// system.
|
||||
///
|
||||
/// [`Ipv4Addr`]: ../../std/net/struct.Ipv4Addr.html
|
||||
@ -64,7 +64,7 @@ pub enum IpAddr {
|
||||
///
|
||||
/// See [`IpAddr`] for a type encompassing both IPv4 and IPv6 addresses.
|
||||
///
|
||||
/// The size of an Ipv4Addr struct may vary depending on the target operating
|
||||
/// The size of an `Ipv4Addr` struct may vary depending on the target operating
|
||||
/// system.
|
||||
///
|
||||
/// [IETF RFC 791]: https://tools.ietf.org/html/rfc791
|
||||
@ -99,7 +99,7 @@ pub struct Ipv4Addr {
|
||||
///
|
||||
/// See [`IpAddr`] for a type encompassing both IPv4 and IPv6 addresses.
|
||||
///
|
||||
/// The size of an Ipv6Addr struct may vary depending on the target operating
|
||||
/// The size of an `Ipv6Addr` struct may vary depending on the target operating
|
||||
/// system.
|
||||
///
|
||||
/// [IETF RFC 4291]: https://tools.ietf.org/html/rfc4291
|
||||
|
@ -49,7 +49,7 @@ pub use core::time::Duration;
|
||||
/// allows measuring the duration between two instants (or comparing two
|
||||
/// instants).
|
||||
///
|
||||
/// The size of an Instant struct may vary depending on the target operating
|
||||
/// The size of an `Instant` struct may vary depending on the target operating
|
||||
/// system.
|
||||
///
|
||||
/// Example:
|
||||
@ -91,7 +91,7 @@ pub struct Instant(time::Instant);
|
||||
/// fixed point in time, a `SystemTime` can be converted to a human-readable time,
|
||||
/// or perhaps some other string representation.
|
||||
///
|
||||
/// The size of a SystemTime struct may vary depending on the target operating
|
||||
/// The size of a `SystemTime` struct may vary depending on the target operating
|
||||
/// system.
|
||||
///
|
||||
/// [`Instant`]: ../../std/time/struct.Instant.html
|
||||
|
Loading…
Reference in New Issue
Block a user