Skip to content

Commit 4b1eb17

Browse files
committed
Don't Label prefix the inner type of a labeled metric
1 parent 9cd5682 commit 4b1eb17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

glean_parser/rust.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def type_name(obj):
9797
"""
9898

9999
if getattr(obj, "labeled", False):
100-
return "LabeledMetric<Labeled{}>".format(class_name(obj.type))
100+
return "LabeledMetric<{}>".format(class_name(obj.type))
101101
generate_enums = getattr(obj, "_generate_enums", []) # Extra Keys? Reasons?
102102
if len(generate_enums):
103103
for name, suffix in generate_enums:

0 commit comments

Comments
 (0)