mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
fixed where clauses, Optional-as-Any and unused vars
This commit is contained in:
@@ -44,7 +44,7 @@ public struct Notification : ReferenceConvertible, Equatable, Hashable {
|
||||
}
|
||||
|
||||
public var description: String {
|
||||
return "name = \(name.rawValue), object = \(object), userInfo = \(userInfo)"
|
||||
return "name = \(name.rawValue), object = \(String(describing: object)), userInfo = \(String(describing: userInfo))"
|
||||
}
|
||||
|
||||
public var debugDescription: String {
|
||||
|
||||
Reference in New Issue
Block a user