[stdlib] Replace precondition with the internal _precondition

This commit is contained in:
Hassan
2021-11-04 23:51:10 +02:00
parent 137b2befab
commit 1d4f220ed4
8 changed files with 8 additions and 8 deletions

View File

@@ -129,7 +129,7 @@ extension String.UnicodeScalarView: BidirectionalCollection {
@inlinable @inline(__always)
public func index(before i: Index) -> Index {
let i = _guts.scalarAlign(i)
precondition(i._encodedOffset > 0)
_precondition(i._encodedOffset > 0)
// TODO(String performance): isASCII fast-path
if _fastPath(_guts.isFastUTF8) {