Skip to content

Commit 1f116ae

Browse files
authored
Merge pull request swiftlang#35223 from masters3d/patch-2
[gardening] precondition message wording in stdlib/public/core/Misc.swift
2 parents ed7c199 + c87c9fe commit 1f116ae

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)