rust/tests/rustdoc/intra-doc/cross-crate/additional_doc.rs

11 lines
332 B
Rust
Raw Normal View History

2020-06-07 21:11:03 -05:00
// aux-build:additional_doc.rs
// build-aux-docs
#![deny(rustdoc::broken_intra_doc_links)]
2020-06-10 07:56:44 -05:00
extern crate my_rand;
2020-06-07 21:11:03 -05:00
// @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'
2020-06-07 21:11:03 -05:00
/// This is an [`Rng`].
pub use my_rand::Rng;