Update src/c-tips/c-tips.md

Co-Authored-By: adamgreig <adam@adamgreig.com>
This commit is contained in:
Emil Fresk
2018-11-20 18:54:26 +00:00
committed by Adam Greig
parent a79918f1d0
commit 1674b11fb5

View File

@@ -168,7 +168,7 @@ Instead, use iterators:
```rust
let arr = [0u16; 16];
for element in arr.iter() {
process(*arr);
process(*element);
}
```