-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
Docs for CStr.as_ptr()
are describing CString
#83999
Comments
@gribozavr are you interested in making a PR to fix it? :) |
Sorry, I should have done this earlier! |
@rustbot release-assignment |
@rustbot claim |
calling |
Use less CString in the examples of CStr. Fixes rust-lang#83999
Use less CString in the examples of CStr. Fixes rust-lang#83999
Rollup merge of rust-lang#136187 - hkBst:patch-27, r=workingjubilee Use less CString in the examples of CStr. Fixes rust-lang#83999
The documentation for CStr.as_ptr() is identical to docs for CString.as_ptr() and does not work for
CStr
. For instance, the provided code samples don't even create aCStr
.The text was updated successfully, but these errors were encountered: