This commit is contained in:
Andrew Kelley
2020-06-20 18:39:15 -04:00
parent d87cd06296
commit da549a72e1
6 changed files with 63 additions and 65 deletions

View File

@@ -162,7 +162,7 @@ pub fn ArrayListAligned(comptime T: type, comptime alignment: ?u29) type {
mem.copy(T, self.items[oldlen..], items);
}
pub usingnamespace if (T != u8) struct { } else struct {
pub usingnamespace if (T != u8) struct {} else struct {
pub const Writer = std.io.Writer(*Self, error{OutOfMemory}, appendWrite);
/// Initializes a Writer which will append to the list.