Skip to content

Commit 599bafe

Browse files
committed
Run rustfmt
1 parent 7dfdec8 commit 599bafe

File tree

1 file changed

+21
-63
lines changed

1 file changed

+21
-63
lines changed

src/lib.rs

Lines changed: 21 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -21,133 +21,91 @@
2121
)]
2222
#![cfg_attr(
2323
all(target_os = "linux", target_arch = "x86_64"),
24-
doc(
25-
html_root_url = "https://rust-lang.github.io/libc/x86_64-unknown-linux-gnu"
26-
)
24+
doc(html_root_url = "https://rust-lang.github.io/libc/x86_64-unknown-linux-gnu")
2725
)]
2826
#![cfg_attr(
2927
all(target_os = "linux", target_arch = "x86"),
30-
doc(
31-
html_root_url = "https://rust-lang.github.io/libc/i686-unknown-linux-gnu"
32-
)
28+
doc(html_root_url = "https://rust-lang.github.io/libc/i686-unknown-linux-gnu")
3329
)]
3430
#![cfg_attr(
3531
all(target_os = "linux", target_arch = "arm"),
36-
doc(
37-
html_root_url = "https://rust-lang.github.io/libc/arm-unknown-linux-gnueabihf"
38-
)
32+
doc(html_root_url = "https://rust-lang.github.io/libc/arm-unknown-linux-gnueabihf")
3933
)]
4034
#![cfg_attr(
4135
all(target_os = "linux", target_arch = "mips"),
42-
doc(
43-
html_root_url = "https://rust-lang.github.io/libc/mips-unknown-linux-gnu"
44-
)
36+
doc(html_root_url = "https://rust-lang.github.io/libc/mips-unknown-linux-gnu")
4537
)]
4638
#![cfg_attr(
4739
all(target_os = "linux", target_arch = "aarch64"),
48-
doc(
49-
html_root_url = "https://rust-lang.github.io/libc/aarch64-unknown-linux-gnu"
50-
)
40+
doc(html_root_url = "https://rust-lang.github.io/libc/aarch64-unknown-linux-gnu")
5141
)]
5242
#![cfg_attr(
5343
all(target_os = "linux", target_env = "musl"),
54-
doc(
55-
html_root_url = "https://rust-lang.github.io/libc/x86_64-unknown-linux-musl"
56-
)
44+
doc(html_root_url = "https://rust-lang.github.io/libc/x86_64-unknown-linux-musl")
5745
)]
5846
#![cfg_attr(
5947
all(target_os = "macos", target_arch = "x86_64"),
60-
doc(
61-
html_root_url = "https://rust-lang.github.io/libc/x86_64-apple-darwin"
62-
)
48+
doc(html_root_url = "https://rust-lang.github.io/libc/x86_64-apple-darwin")
6349
)]
6450
#![cfg_attr(
6551
all(target_os = "macos", target_arch = "x86"),
6652
doc(html_root_url = "https://rust-lang.github.io/libc/i686-apple-darwin")
6753
)]
6854
#![cfg_attr(
6955
all(windows, target_arch = "x86_64", target_env = "gnu"),
70-
doc(
71-
html_root_url = "https://rust-lang.github.io/libc/x86_64-pc-windows-gnu"
72-
)
56+
doc(html_root_url = "https://rust-lang.github.io/libc/x86_64-pc-windows-gnu")
7357
)]
7458
#![cfg_attr(
7559
all(windows, target_arch = "x86", target_env = "gnu"),
76-
doc(
77-
html_root_url = "https://rust-lang.github.io/libc/i686-pc-windows-gnu"
78-
)
60+
doc(html_root_url = "https://rust-lang.github.io/libc/i686-pc-windows-gnu")
7961
)]
8062
#![cfg_attr(
8163
all(windows, target_arch = "x86_64", target_env = "msvc"),
82-
doc(
83-
html_root_url = "https://rust-lang.github.io/libc/x86_64-pc-windows-msvc"
84-
)
64+
doc(html_root_url = "https://rust-lang.github.io/libc/x86_64-pc-windows-msvc")
8565
)]
8666
#![cfg_attr(
8767
all(windows, target_arch = "x86", target_env = "msvc"),
88-
doc(
89-
html_root_url = "https://rust-lang.github.io/libc/i686-pc-windows-msvc"
90-
)
68+
doc(html_root_url = "https://rust-lang.github.io/libc/i686-pc-windows-msvc")
9169
)]
9270
#![cfg_attr(
9371
target_os = "android",
94-
doc(
95-
html_root_url = "https://rust-lang.github.io/libc/arm-linux-androideabi"
96-
)
72+
doc(html_root_url = "https://rust-lang.github.io/libc/arm-linux-androideabi")
9773
)]
9874
#![cfg_attr(
9975
target_os = "freebsd",
100-
doc(
101-
html_root_url = "https://rust-lang.github.io/libc/x86_64-unknown-freebsd"
102-
)
76+
doc(html_root_url = "https://rust-lang.github.io/libc/x86_64-unknown-freebsd")
10377
)]
10478
#![cfg_attr(
10579
target_os = "openbsd",
106-
doc(
107-
html_root_url = "https://rust-lang.github.io/libc/x86_64-unknown-openbsd"
108-
)
80+
doc(html_root_url = "https://rust-lang.github.io/libc/x86_64-unknown-openbsd")
10981
)]
11082
#![cfg_attr(
11183
target_os = "bitrig",
112-
doc(
113-
html_root_url = "https://rust-lang.github.io/libc/x86_64-unknown-bitrig"
114-
)
84+
doc(html_root_url = "https://rust-lang.github.io/libc/x86_64-unknown-bitrig")
11585
)]
11686
#![cfg_attr(
11787
target_os = "netbsd",
118-
doc(
119-
html_root_url = "https://rust-lang.github.io/libc/x86_64-unknown-netbsd"
120-
)
88+
doc(html_root_url = "https://rust-lang.github.io/libc/x86_64-unknown-netbsd")
12189
)]
12290
#![cfg_attr(
12391
target_os = "dragonfly",
124-
doc(
125-
html_root_url = "https://rust-lang.github.io/libc/x86_64-unknown-dragonfly"
126-
)
92+
doc(html_root_url = "https://rust-lang.github.io/libc/x86_64-unknown-dragonfly")
12793
)]
12894
#![cfg_attr(
12995
target_os = "solaris",
130-
doc(
131-
html_root_url = "https://rust-lang.github.io/libc/x86_64-sun-solaris"
132-
)
96+
doc(html_root_url = "https://rust-lang.github.io/libc/x86_64-sun-solaris")
13397
)]
13498
#![cfg_attr(
13599
all(target_os = "emscripten", target_arch = "asmjs"),
136-
doc(
137-
html_root_url = "https://rust-lang.github.io/libc/asmjs-unknown-emscripten"
138-
)
100+
doc(html_root_url = "https://rust-lang.github.io/libc/asmjs-unknown-emscripten")
139101
)]
140102
#![cfg_attr(
141103
all(target_os = "emscripten", target_arch = "wasm32"),
142-
doc(
143-
html_root_url = "https://rust-lang.github.io/libc/wasm32-unknown-emscripten"
144-
)
104+
doc(html_root_url = "https://rust-lang.github.io/libc/wasm32-unknown-emscripten")
145105
)]
146106
#![cfg_attr(
147107
all(target_os = "linux", target_arch = "sparc64"),
148-
doc(
149-
html_root_url = "https://rust-lang.github.io/libc/sparc64-unknown-linux-gnu"
150-
)
108+
doc(html_root_url = "https://rust-lang.github.io/libc/sparc64-unknown-linux-gnu")
151109
)]
152110
// Attributes needed when building as part of the standard library
153111
#![cfg_attr(feature = "rustc-dep-of-std", feature(cfg_target_vendor))]

0 commit comments

Comments
 (0)