From c06a61e9bf93810174255474598cfeae785cfbd6 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Thu, 13 Sep 2018 16:34:33 -0400 Subject: remove `this`. add `@This()`. closes #1283 --- std/math/complex/index.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'std/math/complex/index.zig') diff --git a/std/math/complex/index.zig b/std/math/complex/index.zig index 63a2616984..171c4c5829 100644 --- a/std/math/complex/index.zig +++ b/std/math/complex/index.zig @@ -25,7 +25,7 @@ pub const tan = @import("tan.zig").tan; pub fn Complex(comptime T: type) type { return struct { - const Self = this; + const Self = @This(); re: T, im: T, -- cgit v1.2.3