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

fix(persist): don't use lifetime in error #1195

Merged
merged 1 commit into from Sep 4, 2023

Conversation

jonaro00
Copy link
Member

@jonaro00 jonaro00 commented Sep 2, 2023

Description of change

Small simplification of persist API that also f i x e s an error in examples

How has this been tested? (if applicable)

@orhun
Copy link
Contributor

orhun commented Sep 2, 2023

This has definitely has a small impact on the memory usage since now we use allocated strings instead of str reference. Do we take this into account?

@jonaro00
Copy link
Member Author

jonaro00 commented Sep 2, 2023

It is an error that should never happen in the first place. This plugin is also aimed at light/beginner users :)

Copy link
Contributor

@oddgrd oddgrd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@oddgrd oddgrd merged commit 6ff0f19 into shuttle-hq:main Sep 4, 2023
32 checks passed
@jonaro00 jonaro00 deleted the fix/persist-error-lifetime branch September 27, 2023 04:13
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.

None yet

3 participants