aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Gauer <ratfactor@gmail.com>2021-04-26 20:07:34 -0400
committerGitHub <noreply@github.com>2021-04-26 20:07:34 -0400
commitfaec1675caeb3be2e193ba4f765e7279e4a42bd3 (patch)
tree4bbb046f4006878580a6458f1456ba9e73d1c4c3
parenta479e4cb065d3084b27fc748f6ebe108762edaa0 (diff)
parentad73d7eb1c577bb4608435caf800f293fa050744 (diff)
downloadziglings-faec1675caeb3be2e193ba4f765e7279e4a42bd3.tar.gz
ziglings-faec1675caeb3be2e193ba4f765e7279e4a42bd3.tar.bz2
ziglings-faec1675caeb3be2e193ba4f765e7279e4a42bd3.tar.xz
ziglings-faec1675caeb3be2e193ba4f765e7279e4a42bd3.zip
Merge pull request #51 from noc7c9/patch-1
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"