Skip to content

Commit

Permalink
Merge pull request #3 from treatwell/hashable-support
Browse files Browse the repository at this point in the history
Conform wrappers to Hashable
  • Loading branch information
davdroman authored May 31, 2021
2 parents e11fe46 + 537b3fe commit a2cfd57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/ISO8601PeriodDuration/ISO8601PeriodDuration.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import Foundation

@propertyWrapper
public struct ISO8601PeriodDuration: Equatable {
public struct ISO8601PeriodDuration: Hashable {
public var wrappedValue: DateComponents

public init(_ wrappedValue: DateComponents) {
Expand All @@ -38,7 +38,7 @@ extension ISO8601PeriodDuration: Decodable {
}

@propertyWrapper
public struct OptionalISO8601PeriodDuration: Equatable {
public struct OptionalISO8601PeriodDuration: Hashable {
public var wrappedValue: DateComponents?

public init(_ wrappedValue: DateComponents?) {
Expand Down

0 comments on commit a2cfd57

Please sign in to comment.