Skip to content

Commit 57e375f

Browse files
authored
Merge pull request #6 from Rust-API/ccuuy-patch-1
Update print statement for clarity
2 parents d0f6843 + 2fa6bf5 commit 57e375f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ fn process_array(arr: &[i32]) {
3838
for i in 0..arr.len() {
3939
// Redundant bounds check - loop condition guarantees i < arr.len()
4040
let value = arr.get(i).unwrap(); // Can optimize to arr[i] or arr.get_unchecked(i)
41-
println!("{}", value);
41+
println!("Value is {}", value);
4242
}
4343
}
4444
```

0 commit comments

Comments
 (0)