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

head: use OsStringExt::from_vec instead of std::from_utf8_unchecked #4923

Merged
merged 1 commit into from
May 31, 2023

Commits on May 31, 2023

  1. head: use OsStringExt::from_vec instead of std::from_utf8_unchecked

    This no longer triggers the `invalid_from_utf8_unchecked` lint. It
    is also a bit cleaner and no longer requires `unsafe` because
    OsString is not guaranteed to be valid UTF-8.
    tertsdiepraam committed May 31, 2023
    Configuration menu
    Copy the full SHA
    2ff478f View commit details
    Browse the repository at this point in the history