summaryrefslogtreecommitdiff
path: root/exercises/019_functions2.zig
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
commit9f71d3711e2488df83bd3253381ebc203d7421ec (patch)
tree5fdf1685f01680fae15b77cba2638de4d9905edd /exercises/019_functions2.zig
parent8a7d6b03c7adfc964b7356ffcb524666ea5658f8 (diff)
adding enlightenment to 019 (for #50)
Diffstat (limited to 'exercises/019_functions2.zig')
-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.
}