Skip to content

Commit

Permalink
Make Node Equatable
Browse files Browse the repository at this point in the history
  • Loading branch information
1024jp committed Oct 30, 2024
1 parent bca2c39 commit 40bf73d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CotEditor/Sources/Models/Node.swift
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ struct Node<Value> {
var item: Item
}

extension Node.Item: Equatable where Value: Equatable { }
extension Node: Equatable where Value: Equatable { }


extension Node {

Expand Down

0 comments on commit 40bf73d

Please sign in to comment.