]> git.lizzy.rs Git - rust.git/blobdiff - src/librustdoc/lib.rs
rustdoc: link to stable/beta docs consistently in documentation
[rust.git] / src / librustdoc / lib.rs
index 6488625c5a84d5fde22ddc38bfaa8f15b0ae507a..a4b11584371aa13f24b1166e3aba9a087e0b83ee 100644 (file)
@@ -81,6 +81,8 @@
 use rustc_session::getopts;
 use rustc_session::{early_error, early_warn};
 
+use crate::clean::utils::DOC_RUST_LANG_ORG_CHANNEL;
+
 /// A macro to create a FxHashMap.
 ///
 /// Example:
@@ -581,9 +583,6 @@ fn opts() -> Vec<RustcOptGroup> {
                 "Generate JSON file at the top level instead of generating HTML redirection files",
             )
         }),
-        unstable("print", |o| {
-            o.optmulti("", "print", "Rustdoc information to print on stdout", "[unversioned-files]")
-        }),
         unstable("emit", |o| {
             o.optmulti(
                 "",