rand -> my_rand

This fixes a failure in stage2 rustdoc tests.
This commit is contained in:
Joshua Nelson 2020-06-10 10:30:33 -04:00
parent 769acbaca0
commit 5f49f55eb4
2 changed files with 4 additions and 4 deletions

View File

@ -2,9 +2,9 @@
// build-aux-docs
#![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="../rand/trait.RngCore.html"]' 'RngCore'
// @has 'additional_doc/trait.Rng.html' '//a[@href="../my_rand/trait.RngCore.html"]' 'RngCore'
/// This is an [`Rng`].
pub use rand::Rng;
pub use my_rand::Rng;

View File

@ -1,4 +1,4 @@
#![crate_name = "rand"]
#![crate_name = "my_rand"]
#![deny(intra_doc_resolution_failure)]
pub trait RngCore {}