From 2dfdf5572f42c913499fa9f83aeec91c916a5edc Mon Sep 17 00:00:00 2001 From: cdricms <36056008+cdricms@users.noreply.github.com> Date: Fri, 15 Aug 2025 23:10:20 +0200 Subject: [PATCH] Better handling of operations ? --- Sources/Units/Units.swift | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Sources/Units/Units.swift b/Sources/Units/Units.swift index 8d53644..879d02f 100644 --- a/Sources/Units/Units.swift +++ b/Sources/Units/Units.swift @@ -343,8 +343,8 @@ public struct UnitValue: } /// The result will have the `unit` of the left hand side value. - public static func - ( - lhs: UnitValue, rhs: UnitValue + public static func - ( + lhs: UnitValue, rhs: UnitValue ) -> UnitValue { @@ -352,8 +352,8 @@ public struct UnitValue: } /// The result will have the `unit` of the left hand side value. - public static func + ( - lhs: UnitValue, rhs: UnitValue + public static func + ( + lhs: UnitValue, rhs: UnitValue ) -> UnitValue { @@ -361,8 +361,8 @@ public struct UnitValue: } /// The result will have the `unit` of the left hand side value. - public static func * ( - lhs: UnitValue, rhs: UnitValue + public static func * ( + lhs: UnitValue, rhs: UnitValue ) -> UnitValue { @@ -370,8 +370,8 @@ public struct UnitValue: } /// The result will have the `unit` of the left hand side value. - public static func / ( - lhs: UnitValue, rhs: UnitValue + public static func / ( + lhs: UnitValue, rhs: UnitValue ) -> UnitValue {