diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2018-09-13 16:34:33 -0400 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2018-09-13 16:34:33 -0400 |
| commit | c06a61e9bf93810174255474598cfeae785cfbd6 (patch) | |
| tree | 27d8f4262d8cd8c72c75e348e63e6c7d6a6ec0d4 /std/build.zig | |
| parent | 7c3636aaa38e8efa77b73ba94362802517ea739e (diff) | |
| download | zig-c06a61e9bf93810174255474598cfeae785cfbd6.tar.gz zig-c06a61e9bf93810174255474598cfeae785cfbd6.zip | |
remove `this`. add `@This()`.
closes #1283
Diffstat (limited to 'std/build.zig')
| -rw-r--r-- | std/build.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/std/build.zig b/std/build.zig index 5800e69c62..f9fed6ad2f 100644 --- a/std/build.zig +++ b/std/build.zig @@ -1890,7 +1890,7 @@ const InstallArtifactStep = struct { artifact: *LibExeObjStep, dest_file: []const u8, - const Self = this; + const Self = @This(); pub fn create(builder: *Builder, artifact: *LibExeObjStep) *Self { const dest_dir = switch (artifact.kind) { |
