Skip to content

Commit e709cd9

Browse files
committed
Adjust #19976 Oid/Enum StaticMap for comptime-only StaticStringMap
1 parent 781c2c9 commit e709cd9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/std/crypto/asn1/Oid.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ pub fn StaticMap(comptime Enum: type) type {
153153
oid_to_enum: std.StaticStringMap(Enum),
154154
enum_to_oid: EnumToOid,
155155

156-
pub fn oidToEnum(self: @This(), encoded: []const u8) ?Enum {
156+
pub fn oidToEnum(comptime self: @This(), encoded: []const u8) ?Enum {
157157
return self.oid_to_enum.get(encoded);
158158
}
159159

0 commit comments

Comments
 (0)