-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Remove more mentions of removed keyword priv
#24981
Conversation
r? @pcwalton (rust_highfive has picked a reviewer for you, use r? to override) |
r? @alexcrichton |
@@ -96,7 +96,7 @@ priv fn parse_response(io: @io::Reader) -> Result { | |||
} | |||
} | |||
|
|||
priv fn cmd_to_string(cmd: ~[String]) -> String { | |||
fn cmd_to_string(cmd: ~[String]) -> String { |
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.
This file is actually ancient. ~[String]
though, that's an anachronism?!
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.
LOL I didn't even notice that! Maybe I'll take a look around for ~
s next :)
…lexcrichton Hi! While researching stuff for the reference and the grammar, I came across a few mentions of using the `priv` keyword that was removed in 0.11.0 (rust-lang#13547, rust-lang#8122, rust-lang/rfcs#26, [RFC 0026](https://github.com/rust-lang/rfcs/blob/master/text/0026-remove-priv.md)). One occurrence is a mention in the reference, a few are in comments, and a few are marking test functions. I left the test that makes sure you can't name an ident `priv` since it's still a reserved keyword. I did a little grepping around for `priv `, priv in backticks, `Private` etc and I think the remaining instances are fine, but if anyone knows anywhere in particular I should check for any other lingering mentions of `priv`, please let me know and I would be happy to! 🍂 🌊
…lexcrichton Hi! While researching stuff for the reference and the grammar, I came across a few mentions of using the `priv` keyword that was removed in 0.11.0 (rust-lang#13547, rust-lang#8122, rust-lang/rfcs#26, [RFC 0026](https://github.com/rust-lang/rfcs/blob/master/text/0026-remove-priv.md)). One occurrence is a mention in the reference, a few are in comments, and a few are marking test functions. I left the test that makes sure you can't name an ident `priv` since it's still a reserved keyword. I did a little grepping around for `priv `, priv in backticks, `Private` etc and I think the remaining instances are fine, but if anyone knows anywhere in particular I should check for any other lingering mentions of `priv`, please let me know and I would be happy to! 🍂 🌊
Hi! While researching stuff for the reference and the grammar, I came across a few mentions of using the
priv
keyword that was removed in 0.11.0 (#13547, #8122, rust-lang/rfcs#26, RFC 0026).One occurrence is a mention in the reference, a few are in comments, and a few are marking test functions. I left the test that makes sure you can't name an ident
priv
since it's still a reserved keyword. I did a little grepping around forpriv
, priv in backticks,Private
etc and I think the remaining instances are fine, but if anyone knows anywhere in particular I should check for any other lingering mentions ofpriv
, please let me know and I would be happy to! 🍂 🌊