3 ms·
Said promise should also be checked for sanity. E.g. for i in range(N) { for i in range(M) { # Typo; wanted j. # The compiler should complain
by nine_k 2y ago
Said promise should also be checked for sanity. E.g.
for i in range(N) {
for i in range(M) {
# Typo; wanted j.
# The compiler should complain.
}
}
- Maxatar 2y agoThe Rust compiler would complain in this case that the initial i variable is unused. Unused variables should be named with an underscore, _.