Skip to content

Commit c87c9fe

Browse files
authored
precondition message wording in stdlib/public/core/Misc.swift
1 parent 949b0c0 commit c87c9fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/core/Misc.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ func _mangledTypeName(_ type: Any.Type) -> String? {
8181
let (result, repairsMade) = String._fromUTF8Repairing(
8282
UnsafeBufferPointer(start: stringPtr, count: count))
8383

84-
precondition(!repairsMade, "repairs made to _mangledTypeName, this is not expected since names should always valid UTF-8")
84+
precondition(!repairsMade, "repairs made to _mangledTypeName, this is not expected since names should be valid UTF-8")
8585

8686
return result
8787
}

0 commit comments

Comments
 (0)