Skip to content

impl AsRef, PartialEq#40

Merged
anderslanglands merged 1 commit intoanderslanglands:masterfrom
kornelski:traits
Sep 30, 2024
Merged

impl AsRef, PartialEq#40
anderslanglands merged 1 commit intoanderslanglands:masterfrom
kornelski:traits

Conversation

@kornelski
Copy link
Copy Markdown
Contributor

This adds a bunch of trait implementations that make Ustr more usable with other string-ish types.

@kornelski kornelski force-pushed the traits branch 2 times, most recently from dc7cd13 to 2b6265a Compare February 2, 2024 22:46
@kornelski kornelski changed the title impl Borrow, AsRef, PartialEq impl AsRef, PartialEq Feb 2, 2024
@kornelski
Copy link
Copy Markdown
Contributor Author

Yikes, unfortunately Borrow can't work with precomputed hashes ;(

@virtualritz
Copy link
Copy Markdown
Contributor

This is very useful. Could this be merged and an update published?

@anderslanglands anderslanglands merged commit 4803481 into anderslanglands:master Sep 30, 2024
@anderslanglands
Copy link
Copy Markdown
Owner

Thanks for this!

@kornelski kornelski deleted the traits branch September 30, 2024 22:11
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