aboutsummaryrefslogtreecommitdiff
path: root/exercises/012_while2.zig
diff options
context:
space:
mode:
authorDave Gauer <ratfactor@gmail.com>2022-02-14 16:25:35 -0500
committerGitHub <noreply@github.com>2022-02-14 16:25:35 -0500
commitfa2657ad2eff0750c5aea32ff92a5f4b61f78c1a (patch)
tree90e95d94a73051bf8b011086bc2e47adde5865c9 /exercises/012_while2.zig
parent0efa4c124265ca5c009d63942d863e3911ea3197 (diff)
parenta30279ccf3e08455bb34156f4154bc7b910bb4d3 (diff)
downloadziglings-fa2657ad2eff0750c5aea32ff92a5f4b61f78c1a.tar.gz
ziglings-fa2657ad2eff0750c5aea32ff92a5f4b61f78c1a.tar.bz2
ziglings-fa2657ad2eff0750c5aea32ff92a5f4b61f78c1a.tar.xz
ziglings-fa2657ad2eff0750c5aea32ff92a5f4b61f78c1a.zip
Merge pull request #90 from rofrol/patch-1
add spaces
Diffstat (limited to 'exercises/012_while2.zig')
-rw-r--r--exercises/012_while2.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/exercises/012_while2.zig b/exercises/012_while2.zig
index ef53ea0..c9905aa 100644
--- a/exercises/012_while2.zig
+++ b/exercises/012_while2.zig
@@ -11,7 +11,7 @@
// Example:
//
// var foo = 2;
-// while (foo<10) : (foo+=2) {
+// while (foo < 10) : (foo += 2) {
// // Do something with even numbers less than 10...
// }
//