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

Remove lifetime from Encoding #240

Merged
merged 2 commits into from
Aug 28, 2022
Merged

Remove lifetime from Encoding #240

merged 2 commits into from
Aug 28, 2022

Conversation

madsmtm
Copy link
Owner

@madsmtm madsmtm commented Aug 13, 2022

Seems to make things easier to read without any real downsides, since encodings are almost always statically constructed anyway.

Still unsure if I want to do this though.

@madsmtm madsmtm added enhancement New feature or request A-objc2 Affects the `objc2`, `objc2-exception-helper` and/or `objc2-encode` crates labels Aug 13, 2022
@madsmtm madsmtm added this to the objc2 v0.3 milestone Aug 22, 2022
@madsmtm
Copy link
Owner Author

madsmtm commented Aug 22, 2022

I'm pretty sure I want to add some way to parse encodings after #198, so I think this is a good idea!

@madsmtm madsmtm marked this pull request as ready for review August 28, 2022 14:27
@madsmtm madsmtm merged commit 04787a3 into master Aug 28, 2022
@madsmtm madsmtm deleted the encoding-lifetime branch August 28, 2022 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-objc2 Affects the `objc2`, `objc2-exception-helper` and/or `objc2-encode` crates enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant