-
Notifications
You must be signed in to change notification settings - Fork 192
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
Allow playground defaults #189
Conversation
Signed-off-by: Hunar Roop Kahlon <hunar.roop@gmail.com>
Signed-off-by: Hunar Roop Kahlon <hunar.roop@gmail.com>
bors: r+ |
189: Allow playground defaults r=Dylan-DPC a=kinggoesgaming **I'm submitting a ...** - [ ] bug fix - [x] feature enhancement - [ ] deprecation or removal - [ ] refactor # Description Allow compatibility with play.integer32.com and play.rust-lang.org # Motivation Allows people to use `uuid` in interactive code snippets # Tests Current tests passing # Related Issue(s) Supercedes #155
@@ -402,12 +402,30 @@ impl Uuid { | |||
/// Note that not all versions can be generated currently and `None` will be | |||
/// returned if the specified version cannot be generated. | |||
/// | |||
/// To generate a random UUID (`UuidVersion::Md5`), then the `v3` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should note in the docs that we're generating these random uuids off the well-known dns namespace uuid.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm actually we probably don't need to, since we have enough randomness in the hash we jam into the uuid the base shouldn't matter so much.
I'm submitting a ...
Description
Allow compatibility with play.integer32.com and play.rust-lang.org
Motivation
Allows people to use
uuid
in interactive code snippetsTests
Current tests passing
Related Issue(s)
Supercedes #155