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

Add display method to OsStr #120051

Merged
merged 1 commit into from
Feb 28, 2024
Merged

Add display method to OsStr #120051

merged 1 commit into from
Feb 28, 2024

Commits on Jan 18, 2024

  1. Add display method to OsStr

    Add `display` method to `OsStr` for lossy display of an `OsStr` which may contain invalid unicode.
    
    Invalid Unicode sequences are replaced with `U+FFFD REPLACEMENT CHARACTER`.
    
    This change also makes the `std::ffi::os_str` module public.
    riverbl committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    a0fcc8e View commit details
    Browse the repository at this point in the history