This is an example of documentation generated by ZigDoc, an alternative to Zig's built-in Auto Doc feature. See also examples in other modes/formats. The project being documented here (as the example) is the Zig standard library. Public Function
Reduce length to new_len. Invalidates element pointers for the elements items[new_len..]. Asserts that the new length is less than or equal to the previous length.
Reduce length to
new_len. Invalidates element pointers for the elementsitems[new_len..]. Asserts that the new length is less than or equal to the previous length.