4 ms·
You can declare a "zero" initialized variable and return that var zero T return zero, false I see that you return .data[0] in your code. It seems to m
by tgv 5y ago
You can declare a "zero" initialized variable and return that
var zero T
return zero, false
I see that you return .data[0] in your code. It seems to me that that would be out of bounds when someone accidentally creates a buffer with size 0.