-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
Rename U128.as_64 to try_as_u64 and deprecate the old function #6954
Comments
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
sway-lib-std/src/u128.sw |
Hello, could I work on this? |
Hello, this serves my intentions to take on the task of renaming U128.as_64 to try_as_u64 and deprecating the old function. This change will align the function name with other downcasts, making our codebase more consistent and easier to understand. I'll ensure that the deprecation process is handled smoothly, updating any internal usages and providing clear guidance for external users to transition to the new function. |
Let me handle this issue! |
Could I take on this issue? |
Can I start working on this? |
The function name is inconsistent with other downcasts, it needs to be updated to try_as_u64, and the old function needs to be deprecated and then later removed.
The text was updated successfully, but these errors were encountered: