From 951f81d24f1970a211a649ff8fc6e5715f75d756 Mon Sep 17 00:00:00 2001 From: Jared Ramirez Date: Thu, 29 Oct 2020 08:58:05 -0700 Subject: [PATCH] Use undefined more! --- compiler/builtins/bitcode/src/main.zig | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/compiler/builtins/bitcode/src/main.zig b/compiler/builtins/bitcode/src/main.zig index 39d0ac22b6..edc24284d4 100644 --- a/compiler/builtins/bitcode/src/main.zig +++ b/compiler/builtins/bitcode/src/main.zig @@ -215,18 +215,9 @@ test "str_split_in_place_: three pieces" { const arrayLen : usize = 3; var array: [arrayLen]RocStr = [_]RocStr{ - RocStr{ - .strBytesPtrs = delimiterPtr, - .strLen = 1, - }, - RocStr{ - .strBytesPtrs = delimiterPtr, - .strLen = 1, - }, - RocStr{ - .strBytesPtrs = delimiterPtr, - .strLen = 1, - } + undefined , + undefined, + undefined, }; const array_ptr: [*]RocStr = &array;