rust/library/std/src/net
bors addb4da686 Auto merge of #88343 - steffahn:fix_code_spacing, r=jyn514
Fix spacing of links in inline code.

Similar to #80733, but the focus is different. This PR eliminates all occurrences of pieced-together inline code blocks like [`Box`]`<`[`Option`]`<T>>` and replaces them with good-looking ones (using HTML-syntax), like <code>[Box]<[Option]\<T>></code>. As far as I can tell, I should’ve found all of these in the standard library (regex search with `` r"`\]`|`\[`" ``) \[except for in `core::convert` where I’ve noticed other things in the docs that I want to fix in a separate PR]. In particular, unlike #80733, I’ve added almost no new instance of inline code that’s broken up into multiple links (or some link and some link-free part). I also added tooltips (the stuff in quotes for the markdown link listings) in places that caught my eye, but that’s by no means systematic, just opportunistic.

[Box]: https://doc.rust-lang.org/std/boxed/struct.Box.html "Box"
[`Box`]: https://doc.rust-lang.org/std/boxed/struct.Box.html "Box"
[Option]: https://doc.rust-lang.org/std/option/enum.Option.html "Option"
[`Option`]: https://doc.rust-lang.org/std/option/enum.Option.html "Option"

Context: I got annoyed by repeatedly running into new misformatted inline code while reading the standard library docs. I know that once issue #83997 (and/or related ones) are resolved, these changes become somewhat obsolete, but I fail to notice much progress on that end right now.

r? `@jyn514`
2021-09-25 20:08:11 +00:00
..
addr Remove redundant 'static from library crates 2020-10-18 17:25:51 +02:00
ip Remove Ipv4Addr::is_ietf_protocol_assignment 2021-06-19 15:03:02 +02:00
parser Disallow octal format in Ipv4 string 2021-03-30 10:24:23 +08:00
tcp add TcpStream::set_linger and TcpStream::linger 2021-08-30 13:42:52 -04:00
udp I/O safety. 2021-08-19 12:02:39 -07:00
addr.rs Apply 16 commits (squashed) 2021-09-25 20:04:35 +02:00
ip.rs Bump stage0 compiler to 1.56 2021-09-08 20:51:05 -04:00
mod.rs Apply 16 commits (squashed) 2021-09-25 20:04:35 +02:00
parser.rs Disallow octal format in Ipv4 string 2021-03-30 10:24:23 +08:00
tcp.rs Rollup merge of #88339 - piegamesde:master, r=joshtriplett 2021-09-17 14:09:45 +09:00
test.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
udp.rs Remove unnecessary mut from udp doctests 2021-08-30 22:31:34 -06:00