aboutsummaryrefslogtreecommitdiff
path: root/src/ref_count.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/ref_count.zig')
-rw-r--r--src/ref_count.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ref_count.zig b/src/ref_count.zig
index 589176c1d..2cc5c09fd 100644
--- a/src/ref_count.zig
+++ b/src/ref_count.zig
@@ -1,6 +1,6 @@
const std = @import("std");
-pub fn RefCount(comptime Type: type, comptime deinit_on_zero: bool) type {
+pub fn RefCount(comptime TypeName: type, comptime deinit_on_zero: bool) type {
return struct {
const AllocatorType = if (deinit_on_zero) std.mem.Allocator else void;
@@ -75,6 +75,6 @@ pub fn RefCount(comptime Type: type, comptime deinit_on_zero: bool) type {
}
}
- pub const Type = Type;
+ pub const Type = TypeName;
};
}