Use undefined more!

This commit is contained in:
Jared Ramirez 2020-10-29 08:58:05 -07:00
parent c47c7f3d96
commit 951f81d24f

View file

@ -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;