Skip to content

Commit b80d1d3

Browse files
committed
Unify the configuration of the compiler docs
Previously it was rather inconsistent which crates got the rust logo and which didn't and setting html_root_url was forgotten in many cases.
1 parent 244bcdf commit b80d1d3

File tree

1 file changed

+1
-4
lines changed
  • compiler/rustc_public/src

1 file changed

+1
-4
lines changed

compiler/rustc_public/src/lib.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,7 @@
77
//! This API is still completely unstable and subject to change.
88
99
#![allow(rustc::usage_of_ty_tykind)]
10-
#![doc(
11-
html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/",
12-
test(attr(allow(unused_variables), deny(warnings)))
13-
)]
10+
#![doc(test(attr(allow(unused_variables), deny(warnings))))]
1411
#![feature(sized_hierarchy)]
1512
//!
1613
//! This crate shall contain all type definitions and APIs that we expect third-party tools to invoke to

0 commit comments

Comments
 (0)