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

Make slice->str conversion and related functions const #90607

Merged
merged 2 commits into from
Nov 18, 2021

Commits on Nov 17, 2021

  1. Make slice->str conversion and related functions const

    This commit makes the following functions from `core::str` `const fn`:
    - `from_utf8[_mut]` (`feature(const_str_from_utf8)`)
    - `from_utf8_unchecked_mut` (`feature(const_str_from_utf8_unchecked_mut)`)
    - `Utf8Error::{valid_up_to,error_len}` (`feature(const_str_from_utf8)`)
    WaffleLapkin committed Nov 17, 2021
    Configuration menu
    Copy the full SHA
    cf6f64a View commit details
    Browse the repository at this point in the history

Commits on Nov 18, 2021

  1. Fill in tracking issues for const_str_from_utf8 and `const_str_from…

    …_utf8_unchecked_mut` features
    WaffleLapkin committed Nov 18, 2021
    Configuration menu
    Copy the full SHA
    573a00e View commit details
    Browse the repository at this point in the history