Skip to content

Commit cbb365b

Browse files
committed
docs(contributing): drop the rarity aside from the index-loop example
1 parent 25cdf4d commit cbb365b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ Use **descriptive names** for variables and closure parameters by default. Singl
118118
// OK: short closure
119119
left_indices.zip(right_indices).map(|(i, j)| matrix[i][j])
120120

121-
// OK: index-based loop (rare in Rust)
121+
// OK: index-based loop
122122
for i in 0..len { /* ... */ }
123123

124124
// Bad: use a descriptive name instead

0 commit comments

Comments
 (0)