You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
lint of unnecessary parentheses around if condition may case error #63156
A-lintsArea: Lints (warnings about flaws in source code) such as unused_mut.C-bugCategory: This is a bug.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.
A-lintsArea: Lints (warnings about flaws in source code) such as unused_mut.C-bugCategory: This is a bug.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.
Activity
bravomikekilo commentedon Jul 31, 2019
I am working on it.
Rollup merge of rust-lang#63163 - bravomikekilo:master, r=cramertj
solyasa commentedon Apr 23, 2024
Previous code
if (fee > 4) {
stake_pool.fee = 4;
} else {
stake_pool.fee = fee;
}
Updated code
if fee > 4 {
stake_pool.fee = 4;
} else {
stake_pool.fee = fee;
}