X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Flibrustdoc%2Fclean%2Futils.rs;h=706a56fbcbfe6c7f01961bca88ee2fdfe6126e1d;hb=c3028101a22b8f67457221267e7f35dfd8a15c0d;hp=350a387877142109c075845db6553551110e48c8;hpb=ec9e7d5df1f3cec1889573f9fb470c174cf96dfa;p=rust.git diff --git a/src/librustdoc/clean/utils.rs b/src/librustdoc/clean/utils.rs index 350a3878771..706a56fbcbf 100644 --- a/src/librustdoc/clean/utils.rs +++ b/src/librustdoc/clean/utils.rs @@ -557,7 +557,8 @@ fn print_const_with_custom_print_scalar(tcx: TyCtxt<'_>, ct: &'tcx ty::Const<'tc }) } -/// A link to `doc.rust-lang.org` that includes the channel name. +/// A link to `doc.rust-lang.org` that includes the channel name. Use this instead of manual links +/// so that the channel is consistent. /// /// Set by `bootstrap::Builder::doc_rust_lang_org_channel` in order to keep tests passing on beta/stable. crate const DOC_RUST_LANG_ORG_CHANNEL: &'static str = env!("DOC_RUST_LANG_ORG_CHANNEL");