Skip to content

Conversation

@DTrippe
Copy link
Contributor

@DTrippe DTrippe commented Feb 4, 2024

Fix for the AsRefStr docs to clarify that the lifetime bound on the returned str reference is the same as the originating enum reference.

As well, added a reference to IntoStaticStr, to direct users who explicitly be looking for that.

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants