Merge 310734d2f8 into 4c83e1cdf4
This commit is contained in:
commit
ed216e7581
|
|
@ -16,10 +16,16 @@
|
|||
// https://github.com/swiftlang/swift/issues/79285
|
||||
|
||||
@_exported import CoreMetrics
|
||||
import Foundation
|
||||
import Dispatch
|
||||
|
||||
@_exported import class CoreMetrics.Timer
|
||||
|
||||
#if canImport(FoundationEssentials)
|
||||
import FoundationEssentials
|
||||
#else
|
||||
import Foundation
|
||||
#endif
|
||||
|
||||
extension Timer {
|
||||
/// Convenience for measuring duration of a closure.
|
||||
///
|
||||
|
|
|
|||
Loading…
Reference in New Issue