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

Add as_c_str #41095

Merged
merged 1 commit into from
Apr 9, 2017
Merged

Add as_c_str #41095

merged 1 commit into from
Apr 9, 2017

Conversation

clarfonthey
Copy link
Contributor

@clarfonthey clarfonthey commented Apr 5, 2017

Again, tying up some consistencies with CString.

@rust-highfive
Copy link
Collaborator

r? @sfackler

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

@clarfonthey
Copy link
Contributor Author

cc @alexcrichton and #40380

@alexcrichton
Copy link
Member

Seems reasonable to me, thanks!

Looks like as_os_str may already exist though?

@clarfonthey
Copy link
Contributor Author

Oh, huh, you're right. Will fix.

@clarfonthey clarfonthey changed the title Add as_c_str and as_os_str. Add as_c_str Apr 6, 2017
@clarfonthey clarfonthey force-pushed the as_extras branch 2 times, most recently from 8b6f161 to 84e176b Compare April 6, 2017 18:56
@clarfonthey
Copy link
Contributor Author

Passes now! Ready to merge.

@alexcrichton
Copy link
Member

@bors: r+

@bors
Copy link
Contributor

bors commented Apr 8, 2017

📌 Commit 68909b0 has been approved by alexcrichton

@bors
Copy link
Contributor

bors commented Apr 9, 2017

⌛ Testing commit 68909b0 with merge f31dcc0...

@bors
Copy link
Contributor

bors commented Apr 9, 2017

💔 Test failed - status-travis

@TimNN
Copy link
Contributor

TimNN commented Apr 9, 2017

@bors
Copy link
Contributor

bors commented Apr 9, 2017

⌛ Testing commit 68909b0 with merge ebb10a6...

bors added a commit that referenced this pull request Apr 9, 2017
Add as_c_str

Again, tying up some consistencies with `CString`.
@bors
Copy link
Contributor

bors commented Apr 9, 2017

☀️ Test successful - status-appveyor, status-travis
Approved by: alexcrichton
Pushing ebb10a6 to master...

@bors bors merged commit 68909b0 into rust-lang:master Apr 9, 2017
@clarfonthey clarfonthey deleted the as_extras branch April 9, 2017 18:23
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