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

Add const_new(); remove new_inline() and from_static_str() #336

Merged
merged 2 commits into from
Jan 9, 2024
Merged

Add const_new(); remove new_inline() and from_static_str() #336

merged 2 commits into from
Jan 9, 2024

Conversation

Kijewski
Copy link
Contributor

Closes #322.

Please see #322 for an explanation.

compact_str/src/repr/mod.rs Outdated Show resolved Hide resolved
@ParkMyCar
Copy link
Owner

Hey @Kijewski! Thanks again for a great PR!

There seem to be some changes include here that are not related to adding const_new(...) and deprecating new_inline(...) and from_static_str(...), e.g. the ptr APIs and some trait impls. Those look like great changes, but do you mind splitting them into a separate PR?

@Kijewski Kijewski mentioned this pull request Dec 11, 2023
@Kijewski
Copy link
Contributor Author

Yeah, that were minor points that I found while walking through the code to do the renaming. I moved it into #350.

@ParkMyCar
Copy link
Owner

Thanks for separating out the changes!

@ParkMyCar ParkMyCar merged commit 68d42f5 into ParkMyCar:main Jan 9, 2024
27 checks passed
@Kijewski Kijewski deleted the pr-from_static_str branch January 9, 2024 15:47
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.

Rethink new_inline() and from_static_str()
3 participants