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.
This commit is contained in:
Robin Voetter
2019-12-09 21:56:19 +01:00
committed by Andrew Kelley
parent f0ee0688f2
commit 4b4fbe3887
125 changed files with 508 additions and 504 deletions

View File

@@ -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 {