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

Update incr by precision #57

Merged
merged 3 commits into from
Oct 14, 2024
Merged

Update incr by precision #57

merged 3 commits into from
Oct 14, 2024

Conversation

ndelvalle
Copy link
Owner

No description provided.


self.set(key.to_string(), value.clone().into());

value.parse::<R>().map_err(|_| err.to_string())
Copy link
Owner Author

@ndelvalle ndelvalle Oct 13, 2024

Choose a reason for hiding this comment

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

The precision-related tests are passing now, but I’m not completely convinced about this function. I think we should split the logic for integers and floats to make it more explicit.

src/store.rs Outdated Show resolved Hide resolved
@gillchristian gillchristian merged commit d8f1862 into master Oct 14, 2024
0 of 2 checks passed
@gillchristian gillchristian deleted the update-incr_by-precision branch October 14, 2024 08:03
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.

2 participants