Skip to content
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

More complete documentation for random() #993

Closed
mbartelsm opened this issue Jul 2, 2020 · 3 comments
Closed

More complete documentation for random() #993

mbartelsm opened this issue Jul 2, 2020 · 3 comments

Comments

@mbartelsm
Copy link
Contributor

Hello,

Currently, the documentation for random() prompts the user to go to the documentation for Standard in order to see the possible return values and ranges per implemented type of the function. This is confusing and convoluted, especially when reading the documentation in a popup from an IDE. A short description of the most commonly used types and their possible return values directly within the documentation for random() would be ideal.

@dhardy
Copy link
Member

dhardy commented Jul 2, 2020

I guess that's possible. Would you care to make a PR yourself?

mbartelsm added a commit to mbartelsm/rand that referenced this issue Jul 2, 2020
Solves rust-random#993.

Includes implementation details for easy peeking in IDEs
@mbartelsm
Copy link
Contributor Author

@dhardy Done!

dhardy pushed a commit that referenced this issue Jul 3, 2020
Solves #993.

Includes implementation details for easy peeking in IDEs
@dhardy
Copy link
Member

dhardy commented Jul 3, 2020

Thanks!

@dhardy dhardy closed this as completed Jul 3, 2020
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

No branches or pull requests

2 participants