Skip to content

Commit 08072a4

Browse files
committed
Restore the original Data description
1 parent f0d24bf commit 08072a4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

stdlib/public/SDK/Foundation/Data.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1842,8 +1842,7 @@ public struct Data : ReferenceConvertible, Equatable, Hashable, RandomAccessColl
18421842
extension Data : CustomStringConvertible, CustomDebugStringConvertible, CustomReflectable {
18431843
/// A human-readable description for the data.
18441844
public var description: String {
1845-
// return "\(self.count) bytes"
1846-
return "Data(bytes: [" + map { "0x\(String($0, radix: 16))" }.joined(separator: ", ") + "])"
1845+
return "\(self.count) bytes"
18471846
}
18481847

18491848
/// A human-readable debug description for the data.

0 commit comments

Comments
 (0)