Skip to content

Commit 36ee3bd

Browse files
committed
rustdoc: stabilise --default-theme
As discussed in #77213, this seems like it has bedded in and can be safely and usefully made stable. (rustdoc already has other stable options that interact quite intimately with the rustdoc-supplied CSS, and also an option for supplying entirely different CSS, so exposing the theme names this way seems a very minor step.) Signed-off-by: Ian Jackson <[email protected]>
1 parent 25740fc commit 36ee3bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustdoc/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ fn opts() -> Vec<RustcOptGroup> {
269269
"sort modules by where they appear in the program, rather than alphabetically",
270270
)
271271
}),
272-
unstable("default-theme", |o| {
272+
stable("default-theme", |o| {
273273
o.optopt(
274274
"",
275275
"default-theme",

0 commit comments

Comments
 (0)