File tree Expand file tree Collapse file tree 6 files changed +5
-7
lines changed
Sources/DiffableTextStylesXNumeric Expand file tree Collapse file tree 6 files changed +5
-7
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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 }
Original file line number Diff line number Diff 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 {
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ import Foundation
2121}
2222
2323//*============================================================================*
24- // MARK: * Translation
24+ // MARK: * Scheme
2525//*============================================================================*
2626
2727public protocol NumericTextScheme {
Original file line number Diff line number Diff 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)
Original file line number Diff line number Diff 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)
You can’t perform that action at this time.
0 commit comments