-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
Implement Default trait for OsString/OsStr #32404
Implement Default trait for OsString/OsStr #32404
Conversation
r? @aturon (rust_highfive has picked a reviewer for you, use r? to override) |
Hmm, what version attribute should I use? |
@@ -173,6 +173,14 @@ impl ops::Deref for OsString { | |||
} | |||
} | |||
|
|||
#[stable(feature = "rust1", since = "1.9.0")] |
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.
needs a new feature name. For example osstring_default
(use same for both). Version 1.9.0 is ok I think since we are still in version 1.9.0 in the nightly.
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.
Changed. Thanks!
Looks good, thanks for the PR! @bors: r+ rollup |
📌 Commit b5b1d06 has been approved by |
⌛ Testing commit b5b1d06 with merge 99694f5... |
💔 Test failed - auto-win-gnu-64-opt |
Anything I can do here? |
@bors retry I don't think so, seems like it didn't have a good reason to not complete. |
…default, r=aturon Implement Default trait for OsString/OsStr Fixes rust-lang#32385
Fixes #32385