Skip to content

Commit b1e279b

Browse files
authored
Fix typos in Character Properties
1 parent 30b74b5 commit b1e279b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

proposals/0221-character-properties.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,8 @@ extension Character {
157157

158158
/// Whether this Character is considered lowercase.
159159
///
160-
/// Lowercase Characters vary under case-conversion to lowercase, but not when
161-
/// converted to uppercase.
160+
/// Lowercase Characters vary under case-conversion to uppercase, but not when
161+
/// converted to lowercase.
162162
///
163163
/// Examples:
164164
/// * "é" (U+0065 LATIN SMALL LETTER E, U+0301 COMBINING ACUTE ACCENT)
@@ -316,7 +316,7 @@ We could consider adding something like `FixedWidthInteger.init?(hexDigit: Chara
316316

317317
Rather than rename with an `ascii:` label, keep the old name around to be built upon later with a general number parsing system. We argue that the radix argument makes such an API highly dubious if not constrained to ASCII and full-width compatibility forms (e.g. akin to proposed `Character.hexDigitValue`).
318318

319-
Another alternative is to change the semantics to also accept full-width compatibility forms. Much of the argument for why the API should have an explicit label still apply, though the `radix` label does provide some prodding when provided. We’d prefer the explicit label if possible, but this could be a lessor of evils source-compatibility-preserving alternative.
319+
Another alternative is to change the semantics to also accept full-width compatibility forms. Much of the argument for why the API should have an explicit label still apply, though the `radix` label does provide some prodding when provided. We’d prefer the explicit label if possible, but this could be a lesser of evils source-compatibility-preserving alternative.
320320

321321
### Drop `isASCII/HexDigit/WholeNumber`: Check for `nil` Instead
322322

0 commit comments

Comments
 (0)