diff --git a/Sources/Units/Units.swift b/Sources/Units/Units.swift index 406ab32..4e705cd 100644 --- a/Sources/Units/Units.swift +++ b/Sources/Units/Units.swift @@ -206,7 +206,7 @@ public enum Unit: String, CaseIterable, CustomStringConvertible, Codable, // but the internal `value` will be stored as a `Double`. public struct UnitValue: CustomStringConvertible, Equatable, - Comparable + Comparable, Codable { // Store the value internally as a Double for consistent calculations public let value: Double