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

Remove more mentions of removed keyword priv #24981

Merged
merged 3 commits into from
May 1, 2015
Merged

Remove more mentions of removed keyword priv #24981

merged 3 commits into from
May 1, 2015

Conversation

carols10cents
Copy link
Member

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 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! 🍂 🌊

@rust-highfive
Copy link
Collaborator

r? @pcwalton

(rust_highfive has picked a reviewer for you, use r? to override)

@carols10cents
Copy link
Member Author

r? @alexcrichton
since he did the RFC and removal?

@alexcrichton
Copy link
Member

@bors: r+ 2fdd1b0 rollup

Wow I'm surprised these lasted this long, thanks!

@@ -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 {
Copy link
Member

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?!

Copy link
Member Author

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 :)

Manishearth added a commit to Manishearth/rust that referenced this pull request May 1, 2015
…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! 🍂 🌊
Manishearth added a commit to Manishearth/rust that referenced this pull request May 1, 2015
…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! 🍂 🌊
bors added a commit that referenced this pull request May 1, 2015
@bors bors merged commit 2fdd1b0 into rust-lang:master May 1, 2015
@carols10cents carols10cents deleted the remove-more-priv branch May 8, 2015 01:22
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.

6 participants