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

c_str: Add new method .as_str() -> Option<&str> #9220

Closed
wants to merge 1 commit into from

Conversation

lilyball
Copy link
Contributor

Also rustify .as_bytes(), so it no longer calls libc::strlen() and is
inlineable.

Also rustify .as_bytes(), so it no longer calls libc::strlen() and is
inlineable.
bors added a commit that referenced this pull request Sep 16, 2013
Also rustify .as_bytes(), so it no longer calls libc::strlen() and is
inlineable.
@bors bors closed this Sep 16, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request Jul 28, 2022
…omparisons_doc, r=dswij

Update case_sensitive_file_extension_comparisons example

Closing rust-lang#9220

changelog: [`case_sensitive_file_extension_comparisons`]: update example
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.

None yet

3 participants