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

Improve the safety docs for CStr #95948

Merged
merged 1 commit into from
Jun 7, 2022

Commits on Jun 7, 2022

  1. Improve the safety docs for CStr

    Namely, the two functions `from_ptr` and `from_bytes_with_nul_unchecked`.
    Before, this functions didn't state the requirements clearly enough,
    and I was not immediately able to find them like for other functions.
    
    This doesn't change the content of the docs, but simply rewords them for
    clarity.
    Noratrieb committed Jun 7, 2022
    Configuration menu
    Copy the full SHA
    0dda42b View commit details
    Browse the repository at this point in the history