Skip to content

Add as_c_str - #41095

Merged
bors merged 1 commit into
rust-lang:masterfrom
clarfonthey:as_extras
Apr 9, 2017
Merged

Add as_c_str#41095
bors merged 1 commit into
rust-lang:masterfrom
clarfonthey:as_extras

Conversation

@clarfonthey

@clarfonthey clarfonthey commented Apr 5, 2017

Copy link
Copy Markdown
Contributor

Again, tying up some consistencies with CString.

@rust-highfive

Copy link
Copy Markdown
Contributor

r? @sfackler

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

@clarfonthey

Copy link
Copy Markdown
Contributor Author

cc @alexcrichton and #40380

@alexcrichton

Copy link
Copy Markdown
Member

Seems reasonable to me, thanks!

Looks like as_os_str may already exist though?

@clarfonthey

Copy link
Copy Markdown
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
Copy Markdown
Contributor Author

Passes now! Ready to merge.

@alexcrichton

Copy link
Copy Markdown
Member

@bors: r+

@bors

bors commented Apr 8, 2017

Copy link
Copy Markdown
Collaborator

📌 Commit 68909b0 has been approved by alexcrichton

@bors

bors commented Apr 9, 2017

Copy link
Copy Markdown
Collaborator

⌛ Testing commit 68909b0 with merge f31dcc0...

@bors

bors commented Apr 9, 2017

Copy link
Copy Markdown
Collaborator

💔 Test failed - status-travis

@TimNN

TimNN commented Apr 9, 2017

Copy link
Copy Markdown
Contributor

@bors

bors commented Apr 9, 2017

Copy link
Copy Markdown
Collaborator

⌛ 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

bors commented Apr 9, 2017

Copy link
Copy Markdown
Collaborator

☀️ 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