[go: nahoru, domu]

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

Modify 'std::u64::MAX' to 'u64::MAX' #714

Merged
merged 1 commit into from
Feb 9, 2022

Conversation

zyy17
Copy link
Contributor
@zyy17 zyy17 commented Feb 9, 2022

'u64::MAX' is the recommended way to represent the largest number of u64 type(reference: https://doc.rust-lang.org/std/u64/constant.MAX.html) and 'std::u64::MAX' is now deprecated in a future Rust version.

Signed-off-by: zyy17 zyylsxm@gmail.com

'u64::MAX' is the recommended way to represent the largest number of u64 type(reference: https://doc.rust-lang.org/std/u64/constant.MAX.html) and 'std::u64::MAX' is now deprecated in a future Rust version.

Signed-off-by: zyy17 <zyylsxm@gmail.com>
Copy link
Collaborator
@bacongobbler bacongobbler left a comment

Choose a reason for hiding this comment

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

LGTM

@bacongobbler bacongobbler merged commit 35a84d5 into krustlet:main Feb 9, 2022
@zyy17 zyy17 deleted the use-recommended-u64-max branch February 10, 2022 09:35
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

2 participants