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
Returns a vector containing the same elements as the input, but repeated until the desired length is reached. For example, repeat(8, [_]u32{1, 2, 3}) will return a vector containing .{1, 2, 3, 1, 2, 3, 1, 2}.
Returns a vector containing the same elements as the input, but repeated until the desired length is reached. For example,
repeat(8, [_]u32{1, 2, 3})will return a vector containing.{1, 2, 3, 1, 2, 3, 1, 2}.