about summary refs log tree commit diff
diff options
context:
space:
mode:
authorYotam Ofek <yotamofek@microsoft.com>2025-06-28 19:25:35 +0000
committerYotam Ofek <yotamofek@microsoft.com>2025-06-28 19:25:35 +0000
commit581cb1100ece356ff133a58bac8ce855f38bc432 (patch)
treef9ee09f76c304fe6fbb14c6b2682ec27650260c5
parent96fcd06d4157d2d5a57048de710167a53f93e216 (diff)
downloadrust-581cb1100ece356ff133a58bac8ce855f38bc432.tar.gz
rust-581cb1100ece356ff133a58bac8ce855f38bc432.zip
librustdoc: use tidy for sorting attrs and deps
-rw-r--r--src/librustdoc/Cargo.toml8
-rw-r--r--src/librustdoc/lib.rs4
2 files changed, 8 insertions, 4 deletions
diff --git a/src/librustdoc/Cargo.toml b/src/librustdoc/Cargo.toml
index bba8e630bcc..fdde8309cf9 100644
--- a/src/librustdoc/Cargo.toml
+++ b/src/librustdoc/Cargo.toml
@@ -8,23 +8,25 @@ build = "build.rs"
 path = "lib.rs"
 
 [dependencies]
+# tidy-alphabetical-start
 arrayvec = { version = "0.7", default-features = false }
 askama = { version = "0.14", default-features = false, features = ["alloc", "config", "derive"] }
 base64 = "0.21.7"
-itertools = "0.12"
 indexmap = "2"
+itertools = "0.12"
 minifier = { version = "0.3.5", default-features = false }
 pulldown-cmark-escape = { version = "0.11.0", features = ["simd"] }
 regex = "1"
 rustdoc-json-types = { path = "../rustdoc-json-types" }
-serde_json = "1.0"
 serde = { version = "1.0", features = ["derive"] }
+serde_json = "1.0"
 smallvec = "1.8.1"
 tempfile = "3"
+threadpool = "1.8.1"
 tracing = "0.1"
 tracing-tree = "0.3.0"
-threadpool = "1.8.1"
 unicode-segmentation = "1.9"
+# tidy-alphabetical-end
 
 [dependencies.tracing-subscriber]
 version = "0.3.3"
diff --git a/src/librustdoc/lib.rs b/src/librustdoc/lib.rs
index b7550ec4975..a3cdc4f687f 100644
--- a/src/librustdoc/lib.rs
+++ b/src/librustdoc/lib.rs
@@ -1,8 +1,8 @@
+// tidy-alphabetical-start
 #![doc(
     html_root_url = "https://doc.rust-lang.org/nightly/",
     html_playground_url = "https://play.rust-lang.org/"
 )]
-#![feature(rustc_private)]
 #![feature(ascii_char)]
 #![feature(ascii_char_variants)]
 #![feature(assert_matches)]
@@ -13,8 +13,10 @@
 #![feature(if_let_guard)]
 #![feature(iter_intersperse)]
 #![feature(round_char_boundary)]
+#![feature(rustc_private)]
 #![feature(test)]
 #![warn(rustc::internal)]
+// tidy-alphabetical-end
 
 extern crate thin_vec;