We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d0f6843 + 2fa6bf5 commit 57e375fCopy full SHA for 57e375f
1 file changed
README.md
@@ -38,7 +38,7 @@ fn process_array(arr: &[i32]) {
38
for i in 0..arr.len() {
39
// Redundant bounds check - loop condition guarantees i < arr.len()
40
let value = arr.get(i).unwrap(); // Can optimize to arr[i] or arr.get_unchecked(i)
41
- println!("{}", value);
+ println!("Value is {}", value);
42
}
43
44
```
0 commit comments