Skip to content

CStr::to_string_lossy #99755

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
izderadicka opened this issue Jul 26, 2022 · 0 comments · Fixed by #99781
Closed

CStr::to_string_lossy #99755

izderadicka opened this issue Jul 26, 2022 · 0 comments · Fixed by #99781
Labels
A-docs Area: Documentation for any part of the project, including the compiler, standard library, and tools

Comments

@izderadicka
Copy link

Location

https://github.com/rust-lang/rust/blob/master/library/core/src/ffi/c_str.rs#L69

Summary

CStr::to_string lossy is still used documentation example, but method in no long on this struct after it was moved to core, so method is not documented, so example is confusing.

@izderadicka izderadicka added the A-docs Area: Documentation for any part of the project, including the compiler, standard library, and tools label Jul 26, 2022
@bors bors closed this as completed in 9b3f49f Jul 29, 2022
workingjubilee pushed a commit to tcdi/postgrestd that referenced this issue Sep 15, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
A-docs Area: Documentation for any part of the project, including the compiler, standard library, and tools
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant