Skip to content

Commit 2fe2d25

Browse files
committed
Remove Warnings
1 parent 61899c3 commit 2fe2d25

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Sources/CodeEditSourceEditor/Extensions/NSEdgeInsets/NSEdgeInsets+Equatable.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
import Foundation
99

10-
extension NSEdgeInsets: Equatable {
10+
extension NSEdgeInsets: @retroactive Equatable {
1111
public static func == (lhs: NSEdgeInsets, rhs: NSEdgeInsets) -> Bool {
1212
lhs.bottom == rhs.bottom &&
1313
lhs.top == rhs.top &&

Tests/CodeEditSourceEditorTests/RangeStoreTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ struct RangeStoreTests {
1414
func initWithLength() {
1515
for _ in 0..<100 {
1616
let length = Int.random(in: 0..<1000)
17-
var store = Store(documentLength: length)
17+
let store = Store(documentLength: length)
1818
#expect(store.length == length)
1919
}
2020
}

0 commit comments

Comments
 (0)