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

&CompactString == &str not implemented. #372

Closed
navneetankur opened this issue Apr 21, 2024 · 1 comment · Fixed by #381
Closed

&CompactString == &str not implemented. #372

navneetankur opened this issue Apr 21, 2024 · 1 comment · Fixed by #381

Comments

@navneetankur
Copy link

let s: &CompactString;
...
s == "some_text"

Gives compiler error in 0.7.1.

Probably need to implement
impl PartialEq<&CompactString> for &str

@ParkMyCar
Copy link
Owner

Thank you for the bug report! I'll whip up a PR for this

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 a pull request may close this issue.

2 participants