Skip to content

Commit ab018b7

Browse files
authored
Remove some unused code (#7140)
Just something I noticed while looking into our use of swift-collections.
1 parent 7d03e52 commit ab018b7

File tree

2 files changed

+0
-15
lines changed

2 files changed

+0
-15
lines changed

Sources/Basics/Dictionary+Extensions.swift

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010
//
1111
//===----------------------------------------------------------------------===//
1212

13-
import OrderedCollections
14-
1513
extension Dictionary {
1614
@inlinable
1715
@discardableResult
@@ -36,15 +34,3 @@ extension Dictionary {
3634
}
3735
}
3836
}
39-
40-
/*
41-
extension OrderedDictionary {
42-
public subscript(key: Key, `default` `default`: Value) -> Value {
43-
set {
44-
self[key] = newValue
45-
} get {
46-
self[key] ?? `default`
47-
}
48-
}
49-
}
50-
*/

Sources/Workspace/Workspace.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
import _Concurrency
1414
import Basics
1515
import Foundation
16-
import OrderedCollections
1716
import PackageFingerprint
1817
import PackageGraph
1918
import PackageLoading

0 commit comments

Comments
 (0)