Removed comptime to parseSegment
This commit is contained in:
parent
55906e0ab7
commit
6559ed9f62
@ -48,7 +48,7 @@ pub fn parseUnit(str: []const u8) !ParsedUnit {
|
||||
return parsed;
|
||||
}
|
||||
|
||||
fn parseSegment(comptime segment: []const u8, parsed: *ParsedUnit, is_denominator: bool) !void {
|
||||
fn parseSegment(segment: []const u8, parsed: *ParsedUnit, is_denominator: bool) !void {
|
||||
var scale: Scales.UnitScale = .none;
|
||||
var found_scale = false;
|
||||
var active_dim: ?Dimensions.Dimension = null;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user