We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 619673e + 11b6bb3 commit b02e48fCopy full SHA for b02e48f
stdlib/public/core/UnicodeParser.swift
@@ -22,8 +22,7 @@ extension Unicode {
22
/// An encoding error was detected.
23
///
24
/// `length` is the number of underlying code units consumed by this
25
- /// error (the length of the longest prefix of a valid encoding
26
- /// sequence that could be recognized).
+ /// error, guaranteed to be greater than 0.
27
case error(length: Int)
28
29
@inlinable // FIXME(sil-serialize-all)
0 commit comments