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
Hello Team,
Not a big deal, but some compiling warnings after updated to rust 1.75 nightly:
warning: unnecessary parentheses around index expression --> src/final3/functions.rs:114:42 | 114 | ...= u64::from(c[((wyrng(&mut seed) as usize) % c.len())]) << j; | ^ ^ | = note: #[warn(unused_parens)] on by default help: remove these parentheses | 114 - secret[i] |= u64::from(c[((wyrng(&mut seed) as usize) % c.len())]) << j; 114 + secret[i] |= u64::from(c[(wyrng(&mut seed) as usize) % c.len()]) << j; |
#[warn(unused_parens)]
Thanks,
Jianshu
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello Team,
Not a big deal, but some compiling warnings after updated to rust 1.75 nightly:
warning: unnecessary parentheses around index expression
--> src/final3/functions.rs:114:42
|
114 | ...= u64::from(c[((wyrng(&mut seed) as usize) % c.len())]) << j;
| ^ ^
|
= note:
#[warn(unused_parens)]
on by defaulthelp: remove these parentheses
|
114 - secret[i] |= u64::from(c[((wyrng(&mut seed) as usize) % c.len())]) << j;
114 + secret[i] |= u64::from(c[(wyrng(&mut seed) as usize) % c.len()]) << j;
|
Thanks,
Jianshu
The text was updated successfully, but these errors were encountered: