Skip to content

Commit 5c3956f

Browse files
committed
Cleanup: marks, comments.
1 parent 3f46c15 commit 5c3956f

File tree

6 files changed

+5
-7
lines changed

6 files changed

+5
-7
lines changed

Sources/DiffableTextStylesXNumeric/Format.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public protocol NumericTextFormat: ParseableFormatStyle where FormatInput: Numer
5353
@inlinable func rounded(rule: FloatingPointRoundingRule, increment: Self.RoundingIncrement?) -> Self
5454

5555
//=------------------------------------------------------------------------=
56-
// MARK: Translation
56+
// MARK: Scheme
5757
//=------------------------------------------------------------------------=
5858

5959
@inlinable func scheme() -> NumericTextScheme

Sources/DiffableTextStylesXNumeric/Models/Bounds+Autovalidate.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ extension Bounds {
6262
//=--------------------------------------=
6363
if value == min { return value < .zero }
6464
//=--------------------------------------=
65-
// MARK: Failure
65+
// MARK: Value Is Out Of Bounds
6666
//=--------------------------------------=
6767
throw Info([.mark(value), "is not in", .mark(self)])
6868
}

Sources/DiffableTextStylesXNumeric/Models/Scheme+Currency.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,8 @@ import Foundation
106106

107107
/// A model for marking currency labels as virtual.
108108
///
109-
/// The characters used to express currencies are usually disjoint
110-
/// from the characters used to express their amounts, but sometimes they include fraction separators.
109+
/// Characters used to express currencies are usually disjoint
110+
/// from characters used to express amounts, but sometimes they overlap.
111111
/// This instruction is used to efficiently mark faux fraction separators, when they exist.
112112
///
113113
@usableFromInline struct Instruction {

Sources/DiffableTextStylesXNumeric/Models/Scheme.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import Foundation
2121
}
2222

2323
//*============================================================================*
24-
// MARK: * Translation
24+
// MARK: * Scheme
2525
//*============================================================================*
2626

2727
public protocol NumericTextScheme {

Sources/DiffableTextStylesXNumeric/Number/Digits.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ extension Digits: TextOutputStreamable {
9696
// MARK: Write
9797
//=------------------------------------------------------------------------=
9898

99-
/// Writes the ASCII representation of this instance to the target.
10099
@inlinable func write<T>(to target: inout T) where T: TextOutputStream {
101100
for digit in digits {
102101
digit.write(to: &target)

Sources/DiffableTextStylesXNumeric/Number/Number.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,6 @@ extension Number {
170170
// MARK: Write
171171
//=------------------------------------------------------------------------=
172172

173-
/// Writes the ASCII representation of this instance to the target.
174173
@inlinable func write<T>(to target: inout T) where T: TextOutputStream {
175174
sign.write(to: &target)
176175
integer.write(to: &target)

0 commit comments

Comments
 (0)