Skip to content

update link of Range to Uniform in rand example #420

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jul 2, 2018
Merged

update link of Range to Uniform in rand example #420

merged 4 commits into from
Jul 2, 2018

Conversation

huangjj27
Copy link
Contributor

the only thing changed is as described at #408 (comment)

huangjj27 added 3 commits June 6, 2018 16:36
As the rand 0.5 have been published, fix the Range link to Uniform, and correct the example.
fix conflict from upstream take #2
src/basics.md Outdated
@@ -1839,7 +1839,7 @@ fn run() -> Result<()> {
[`process::Stdio`]: https://doc.rust-lang.org/std/process/struct.Stdio.html
[`rand::Rng`]: https://docs.rs/rand/*/rand/trait.Rng.html
[`rand::thread_rng`]: https://docs.rs/rand/*/rand/fn.thread_rng.html
[`Range`]: https://docs.rs/rand/*/rand/distributions/#reexports
[`Uniform`]: https://docs.rs/rand/0.5.0/rand/distributions/uniform/struct.Uniform.html
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use wildcard URLs
https://docs.rs/rand*/rand/distributions/uniform/struct.Uniform.html

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Corrected.

@AndyGauge AndyGauge merged commit 47dd9fe into rust-lang-nursery:master Jul 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants