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

Fix AsRefStr docs to specify lifetime constraints #330

Merged
merged 1 commit into from
Feb 4, 2024

Commits on Feb 4, 2024

  1. Fix AsRefStr docs to specify lifetime constraints

    Fixed the AsRefStr docs to clarify that the lifetime bound on the
    returned str reference is the same as the originating enum reference. As
    well, directed users to IntoStaticStr, which supports returning str
    references with a longer-lived lifetime.
    DTrippe committed Feb 4, 2024
    Configuration menu
    Copy the full SHA
    3210df0 View commit details
    Browse the repository at this point in the history