Skip to content

Commit 5f49f55

Browse files
committed
rand -> my_rand
This fixes a failure in stage2 rustdoc tests.
1 parent 769acba commit 5f49f55

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/test/rustdoc/intra-doc-crate/additional_doc.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
// build-aux-docs
33
#![deny(intra_doc_resolution_failure)]
44

5-
extern crate rand;
5+
extern crate my_rand;
66

77
// @has 'additional_doc/trait.Rng.html' '//a[@href="../additional_doc/trait.Rng.html"]' 'Rng'
8-
// @has 'additional_doc/trait.Rng.html' '//a[@href="../rand/trait.RngCore.html"]' 'RngCore'
8+
// @has 'additional_doc/trait.Rng.html' '//a[@href="../my_rand/trait.RngCore.html"]' 'RngCore'
99
/// This is an [`Rng`].
10-
pub use rand::Rng;
10+
pub use my_rand::Rng;

src/test/rustdoc/intra-doc-crate/auxiliary/additional_doc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![crate_name = "rand"]
1+
#![crate_name = "my_rand"]
22
#![deny(intra_doc_resolution_failure)]
33

44
pub trait RngCore {}

0 commit comments

Comments
 (0)