Skip to content

Make BindgenOptions private#1000

Merged
bors-servo merged 1 commit into
rust-lang:masterfrom
pepyakin:hide-bindgen-options
Sep 18, 2017
Merged

Make BindgenOptions private#1000
bors-servo merged 1 commit into
rust-lang:masterfrom
pepyakin:hide-bindgen-options

Conversation

@pepyakin

Copy link
Copy Markdown
Contributor

Fixes #958

r? @fitzgen

@highfive

Copy link
Copy Markdown

Thanks for the pull request, and welcome! The Servo team is excited to review your changes, and you should hear from @fitzgen (or someone else) soon.

Comment thread src/lib.rs Outdated
#[derive(Debug)]
#[deprecated]
pub struct BindgenOptions {
pub(crate) struct BindgenOptions {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's in the root, so it can just be private.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense, thanks!

@pepyakin pepyakin force-pushed the hide-bindgen-options branch from 4e02320 to 89c3315 Compare September 18, 2017 19:51
@pepyakin pepyakin force-pushed the hide-bindgen-options branch from 89c3315 to e8e6f37 Compare September 18, 2017 19:55
@pepyakin pepyakin changed the title Make BindgenOptions pub(crate) Make BindgenOptions private Sep 18, 2017
@fitzgen

fitzgen commented Sep 18, 2017

Copy link
Copy Markdown
Member

Looks great, thanks @pepyakin!

@bors-servo r+

@bors-servo

Copy link
Copy Markdown

📌 Commit e8e6f37 has been approved by fitzgen

@bors-servo

Copy link
Copy Markdown

⌛ Testing commit e8e6f37 with merge da942c4...

bors-servo pushed a commit that referenced this pull request Sep 18, 2017
@bors-servo

Copy link
Copy Markdown

☀️ Test successful - status-travis
Approved by: fitzgen
Pushing da942c4 to master...

@bors-servo bors-servo merged commit e8e6f37 into rust-lang:master Sep 18, 2017
@bors-servo bors-servo mentioned this pull request Sep 18, 2017
8 tasks
@pepyakin pepyakin deleted the hide-bindgen-options branch September 18, 2017 21:25
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.

5 participants