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

Rename the internal const_strlen to just strlen #127660

Merged
merged 1 commit into from
Jul 13, 2024

Commits on Jul 12, 2024

  1. Rename the internal const_strlen to just strlen

    Since the libs and lang teams completed an FCP to allow for const
    `strlen` ([1]), currently implemented with `const_eval_select`, there is
    no longer any reason to avoid this specific function or use it only in
    const.
    
    Rename it to reflect this status change.
    
    [1]: rust-lang#113219 (comment)
    tgross35 committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    2772f89 View commit details
    Browse the repository at this point in the history