aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAthir Saleem <noc7c9@gmail.com>2021-04-26 23:10:23 +1000
committerGitHub <noreply@github.com>2021-04-26 23:10:23 +1000
commitad73d7eb1c577bb4608435caf800f293fa050744 (patch)
tree7ffc4fd02770e614843b15e9928cd60dbed52ba0
parent8dd47f8bccedfb9c9c6bcdc419c67a4b7d10977e (diff)
downloadziglings-ad73d7eb1c577bb4608435caf800f293fa050744.tar.gz
ziglings-ad73d7eb1c577bb4608435caf800f293fa050744.tar.bz2
ziglings-ad73d7eb1c577bb4608435caf800f293fa050744.tar.xz
ziglings-ad73d7eb1c577bb4608435caf800f293fa050744.zip
Fix typo in 061_coercions.zig
-rw-r--r--exercises/061_coercions.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/exercises/061_coercions.zig b/exercises/061_coercions.zig
index 043684e..e4f87d8 100644
--- a/exercises/061_coercions.zig
+++ b/exercises/061_coercions.zig
@@ -11,7 +11,7 @@
// 2. Numeric types can coerce to _larger_ types.
//
// var n1: u8 = 5;
-// var n2: u16 = n8; // integer "widening"
+// var n2: u16 = n1; // integer "widening"
//
// var n3: f16 = 42.0;
// var n4: f32 = n3; // float "widening"