aboutsummaryrefslogtreecommitdiff
path: root/exercises/061_coercions.zig
diff options
context:
space:
mode:
authorDave Gauer <dave@ratfactor.com>2021-04-26 20:34:47 -0400
committerDave Gauer <dave@ratfactor.com>2021-04-26 20:34:47 -0400
commitfe6bf8948fd16b288fccf85f4f59d9d5925b14cc (patch)
treed6032ec6ca38d8f64964119c43206bbe177836f2 /exercises/061_coercions.zig
parent98f4f5476a965ccd04fa9b0b3c2e26d60d4a2652 (diff)
parentfaec1675caeb3be2e193ba4f765e7279e4a42bd3 (diff)
downloadziglings-fe6bf8948fd16b288fccf85f4f59d9d5925b14cc.tar.gz
ziglings-fe6bf8948fd16b288fccf85f4f59d9d5925b14cc.tar.bz2
ziglings-fe6bf8948fd16b288fccf85f4f59d9d5925b14cc.tar.xz
ziglings-fe6bf8948fd16b288fccf85f4f59d9d5925b14cc.zip
Merge branch 'main' of github.com:ratfactor/ziglings into main
Diffstat (limited to 'exercises/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"