HistoryView: Adds ability to delete history items
This commit is contained in:
@@ -7,6 +7,15 @@
|
||||
|
||||
import UIKit
|
||||
|
||||
infix operator .. : AssignmentPrecedence
|
||||
|
||||
@discardableResult @inline(__always) @inlinable
|
||||
public func .. <T: Any>(it: T, apply: (inout T) throws -> Void) rethrows -> T {
|
||||
var it = it
|
||||
try apply(&it)
|
||||
return it
|
||||
}
|
||||
|
||||
protocol Conf { }
|
||||
|
||||
extension Conf {
|
||||
|
||||
Reference in New Issue
Block a user