We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This would work, we just need to make sure to convert a potential try_into error into something readable.
try_into
i64::from_le_bytes(self.db.read_bin(SETTINGS_KEY)?.unwrap_or_default().try_into()?)
Edit: Actually, now that I think about it - unwrap_or_default might need to be replaced with 0::to_le_bytes or something along those lines.
unwrap_or_default
0::to_le_bytes
Originally posted by @aatifsyed in #4270 (comment)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This would work, we just need to make sure to convert a potential
try_into
error into something readable.Edit: Actually, now that I think about it -
unwrap_or_default
might need to be replaced with0::to_le_bytes
or something along those lines.Originally posted by @aatifsyed in #4270 (comment)
The text was updated successfully, but these errors were encountered: