Skip to content

Commit 11ccf4c

Browse files
authored
Use _typeName instead of String.init(reflecting:) (#52)
1 parent 21ec1d7 commit 11ccf4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/CustomDump/Internal/AnyType.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
func typeName(_ type: Any.Type) -> String {
2-
var name = String(reflecting: type)
2+
var name = _typeName(type)
33
if let index = name.firstIndex(of: ".") {
44
name.removeSubrange(...index)
55
}

0 commit comments

Comments
 (0)