]> git.lizzy.rs Git - rust.git/commitdiff
Add backticks
authorPhlosioneer <mattmdrr2@gmail.com>
Sun, 25 Mar 2018 03:41:34 +0000 (23:41 -0400)
committerPhlosioneer <mattmdrr2@gmail.com>
Sun, 25 Mar 2018 03:41:34 +0000 (23:41 -0400)
src/libstd/net/addr.rs
src/libstd/net/ip.rs
src/libstd/time.rs

index 57efc3095fc9e11ddd001ddae25e6bcbb720d5d0..bc2c9f522d3b0c35c69b3d33028a9f24923efaf4 100644 (file)
@@ -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
index 67b9e7a2f9d6fc290cbd7f4e2b0bcdbd52c7d769..031fae6d59bf8be0407bf999e731fd1e48e20494 100644 (file)
@@ -26,7 +26,7 @@
 /// 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
index 4e08301fe05b9bda21499516455f868b710e74a1..7256ac43e27e48272f97a59d9675176bfd58ecce 100644 (file)
@@ -49,7 +49,7 @@
 /// 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 @@
 /// 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