diff options
Diffstat (limited to 'exercises/10_if2.zig')
-rw-r--r-- | exercises/10_if2.zig | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/exercises/10_if2.zig b/exercises/10_if2.zig index 4f559cd..0925d18 100644 --- a/exercises/10_if2.zig +++ b/exercises/10_if2.zig @@ -3,14 +3,6 @@ // // var foo: u8 = if (a) 2 else 3; // -// Note: You'll need to declare a variable type when assigning a value -// from a statement like this because the compiler isn't smart enough -// to infer the type for you. -// -// This WON'T work: -// -// var foo = if (a) 2 else 3; // error! -// const std = @import("std"); pub fn main() void { |