From 1674b11fb5d4cdbdf917ecbd349026423d58724b Mon Sep 17 00:00:00 2001 From: Emil Fresk Date: Tue, 20 Nov 2018 18:54:26 +0000 Subject: [PATCH] Update src/c-tips/c-tips.md Co-Authored-By: adamgreig --- src/c-tips/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/c-tips/index.md b/src/c-tips/index.md index 0f5e345..f8ee9e8 100644 --- a/src/c-tips/index.md +++ b/src/c-tips/index.md @@ -168,7 +168,7 @@ Instead, use iterators: ```rust let arr = [0u16; 16]; for element in arr.iter() { - process(*arr); + process(*element); } ```