rand -> my_rand
This fixes a failure in stage2 rustdoc tests.
This commit is contained in:
parent
769acbaca0
commit
5f49f55eb4
2 changed files with 4 additions and 4 deletions
|
@ -2,9 +2,9 @@
|
||||||
// build-aux-docs
|
// build-aux-docs
|
||||||
#![deny(intra_doc_resolution_failure)]
|
#![deny(intra_doc_resolution_failure)]
|
||||||
|
|
||||||
extern crate rand;
|
extern crate my_rand;
|
||||||
|
|
||||||
// @has 'additional_doc/trait.Rng.html' '//a[@href="../additional_doc/trait.Rng.html"]' 'Rng'
|
// @has 'additional_doc/trait.Rng.html' '//a[@href="../additional_doc/trait.Rng.html"]' 'Rng'
|
||||||
// @has 'additional_doc/trait.Rng.html' '//a[@href="../rand/trait.RngCore.html"]' 'RngCore'
|
// @has 'additional_doc/trait.Rng.html' '//a[@href="../my_rand/trait.RngCore.html"]' 'RngCore'
|
||||||
/// This is an [`Rng`].
|
/// This is an [`Rng`].
|
||||||
pub use rand::Rng;
|
pub use my_rand::Rng;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#![crate_name = "rand"]
|
#![crate_name = "my_rand"]
|
||||||
#![deny(intra_doc_resolution_failure)]
|
#![deny(intra_doc_resolution_failure)]
|
||||||
|
|
||||||
pub trait RngCore {}
|
pub trait RngCore {}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue