Skip to content

Commit 581cb11

Browse files
committed
librustdoc: use tidy for sorting attrs and deps
1 parent 96fcd06 commit 581cb11

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

src/librustdoc/Cargo.toml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,23 +8,25 @@ build = "build.rs"
88
path = "lib.rs"
99

1010
[dependencies]
11+
# tidy-alphabetical-start
1112
arrayvec = { version = "0.7", default-features = false }
1213
askama = { version = "0.14", default-features = false, features = ["alloc", "config", "derive"] }
1314
base64 = "0.21.7"
14-
itertools = "0.12"
1515
indexmap = "2"
16+
itertools = "0.12"
1617
minifier = { version = "0.3.5", default-features = false }
1718
pulldown-cmark-escape = { version = "0.11.0", features = ["simd"] }
1819
regex = "1"
1920
rustdoc-json-types = { path = "../rustdoc-json-types" }
20-
serde_json = "1.0"
2121
serde = { version = "1.0", features = ["derive"] }
22+
serde_json = "1.0"
2223
smallvec = "1.8.1"
2324
tempfile = "3"
25+
threadpool = "1.8.1"
2426
tracing = "0.1"
2527
tracing-tree = "0.3.0"
26-
threadpool = "1.8.1"
2728
unicode-segmentation = "1.9"
29+
# tidy-alphabetical-end
2830

2931
[dependencies.tracing-subscriber]
3032
version = "0.3.3"

src/librustdoc/lib.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1+
// tidy-alphabetical-start
12
#![doc(
23
html_root_url = "https://doc.rust-lang.org/nightly/",
34
html_playground_url = "https://play.rust-lang.org/"
45
)]
5-
#![feature(rustc_private)]
66
#![feature(ascii_char)]
77
#![feature(ascii_char_variants)]
88
#![feature(assert_matches)]
@@ -13,8 +13,10 @@
1313
#![feature(if_let_guard)]
1414
#![feature(iter_intersperse)]
1515
#![feature(round_char_boundary)]
16+
#![feature(rustc_private)]
1617
#![feature(test)]
1718
#![warn(rustc::internal)]
19+
// tidy-alphabetical-end
1820

1921
extern crate thin_vec;
2022

0 commit comments

Comments
 (0)