aboutsummaryrefslogtreecommitdiff
path: root/exercises
diff options
context:
space:
mode:
authorDave Gauer <dave@ratfactor.com>2021-04-26 20:45:19 -0400
committerDave Gauer <dave@ratfactor.com>2021-04-26 20:45:19 -0400
commit05cefbfd17db399ca152bc82fee1d2f2993cfe65 (patch)
tree5fdf1685f01680fae15b77cba2638de4d9905edd /exercises
parentfe6bf8948fd16b288fccf85f4f59d9d5925b14cc (diff)
downloadziglings-05cefbfd17db399ca152bc82fee1d2f2993cfe65.tar.gz
ziglings-05cefbfd17db399ca152bc82fee1d2f2993cfe65.tar.bz2
ziglings-05cefbfd17db399ca152bc82fee1d2f2993cfe65.tar.xz
ziglings-05cefbfd17db399ca152bc82fee1d2f2993cfe65.zip
adding enlightenment to 019 (for #50)
Diffstat (limited to 'exercises')
-rw-r--r--exercises/019_functions2.zig6
1 files changed, 3 insertions, 3 deletions
diff --git a/exercises/019_functions2.zig b/exercises/019_functions2.zig
index 00f33c5..a527ae2 100644
--- a/exercises/019_functions2.zig
+++ b/exercises/019_functions2.zig
@@ -24,7 +24,7 @@ pub fn main() void {
//
fn twoToThe(???) u32 {
return std.math.pow(u32, 2, my_number);
- // std.math.pow(type, a, b) takes a numeric type and two numbers
- // of that type and returns "a to the power of b" as that same
- // numeric type.
+ // std.math.pow(type, a, b) takes a numeric type and two
+ // numbers of that type (or that can coerce to that type) and
+ // returns "a to the power of b" as that same numeric type.
}