diff options
| author | Robin Voetter <robin@voetter.nl> | 2019-12-09 21:56:19 +0100 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2019-12-10 11:09:41 -0500 |
| commit | 4b4fbe388732da795c924293b4d1af3d9ca5ea69 (patch) | |
| tree | 278ddda90440c1f68aee5acb7318371aa2a2a7ad /lib/std/array_list.zig | |
| parent | f0ee0688f20dd012b4e069324abdba081ff19369 (diff) | |
| download | zig-4b4fbe388732da795c924293b4d1af3d9ca5ea69.tar.gz zig-4b4fbe388732da795c924293b4d1af3d9ca5ea69.zip | |
Replace @typeOf with @TypeOf in all zig source
This change was mostly made with `zig fmt` and this also modified some whitespace. Note that in some files, `zig fmt` produced incorrect code, so the change was made manually.
Diffstat (limited to 'lib/std/array_list.zig')
| -rw-r--r-- | lib/std/array_list.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/array_list.zig b/lib/std/array_list.zig index c718972537..33260a88df 100644 --- a/lib/std/array_list.zig +++ b/lib/std/array_list.zig @@ -40,7 +40,7 @@ pub fn AlignedArrayList(comptime T: type, comptime alignment: ?u29) type { .allocator = allocator, }; } - + /// Initialize with capacity to hold at least num elements. /// Deinitialize with `deinit` or use `toOwnedSlice`. pub fn initCapacity(allocator: *Allocator, num: usize) !Self { |
