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

impl<T> BorrowFrom<&'static [T]> for [T] #19171

Conversation

chris-morgan
Copy link
Member

This is for symmetry with the str-based implementation and allows things
like Map<&'static [u8], V> from rust-phf to work properly.

This is for symmetry with the str-based implementation and allows things
like Map<&'static [u8], V> from rust-phf to work properly.
@chris-morgan
Copy link
Member Author

I even found mislav/hub#695 in the process!

@sfackler
Copy link
Member

I had a PR for this as well, but it's superseded by #19146

@alexcrichton
Copy link
Member

Yes closing in favor of #19146. Regardless, thanks!

lnicola pushed a commit to lnicola/rust that referenced this pull request Mar 3, 2025
…n-assist

internal: Migrate `apply_demorgan` to `SyntaxEditor`
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.

3 participants