-
Notifications
You must be signed in to change notification settings - Fork 13.3k
doc: fix swapped docs for intro_ptr and intro_raw of CString #28788
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
Conversation
(rust_highfive has picked a reviewer for you, use r? to override) |
Since |
I thought that it's better for the deprecated But do you agree that the documentation as it is now is inconsistent? Especially considering the documentation of |
I think it's better. Either way, the unstable & deprecated methods will be removed relatively quickly. |
There certainly is no reason why the Edit: edited the initial comment because I confused |
@bors r+ rollup Great, let's go! |
📌 Commit 25c2134 has been approved by |
Please correct me if I confused something but the documentation for ```into_ptr``` and ```into_raw``` of ```CString``` seem to be swapped as the docs for ```into_ptr``` mentions ```into_raw``` and vice versa. Update: I actually meant ```into_ptr``` and ```into_raw``` NOT ```from_*```
Please correct me if I confused something but the documentation for ```into_ptr``` and ```into_raw``` of ```CString``` seem to be swapped as the docs for ```into_ptr``` mentions ```into_raw``` and vice versa. Update: I actually meant ```into_ptr``` and ```into_raw``` NOT ```from_*```
Please correct me if I confused something but the documentation for
into_ptr
andinto_raw
ofCString
seem to be swapped as the docs forinto_ptr
mentionsinto_raw
and vice versa.Update: I actually meant
into_ptr
andinto_raw
NOTfrom_*