rust/tests/rustdoc/intra-doc/cross-crate/additional_doc.rs
2023-01-11 09:32:08 +00:00

11 lines
332 B
Rust

// aux-build:additional_doc.rs
// build-aux-docs
#![deny(rustdoc::broken_intra_doc_links)]
extern crate my_rand;
// @has 'additional_doc/trait.Rng.html' '//a[@href="trait.Rng.html"]' 'Rng'
// @has 'additional_doc/trait.Rng.html' '//a[@href="../my_rand/trait.RngCore.html"]' 'RngCore'
/// This is an [`Rng`].
pub use my_rand::Rng;