@@ -15,7 +15,7 @@ import Foundation
1515//*============================================================================*
1616
1717@usableFromInline final class NumericTextSchemeXCurrency : Schemes . Reuseable {
18- @usableFromInline static let cache = Cache < ID , NumericTextSchemeXCurrency > ( 33 )
18+ @usableFromInline static let cache = Cache < ID , NumericTextSchemeXCurrency > ( 32 )
1919
2020 //=------------------------------------------------------------------------=
2121 // MARK: State
@@ -24,7 +24,7 @@ import Foundation
2424 @usableFromInline let id : ID
2525 @usableFromInline let lexicon : Lexicon
2626 @usableFromInline let preferences : Preferences
27- @usableFromInline let instruction : Instruction ?
27+ @usableFromInline let adjustments : Adjustments ?
2828
2929 //=------------------------------------------------------------------------=
3030 // MARK: Initializers
@@ -46,7 +46,7 @@ import Foundation
4646 formatter. numberStyle = . currency
4747 self . preferences = Preferences ( formatter)
4848 formatter. maximumFractionDigits = . zero
49- self . instruction = Instruction ( formatter, lexicon)
49+ self . adjustments = Adjustments ( formatter, lexicon)
5050 }
5151
5252 //=------------------------------------------------------------------------=
@@ -105,16 +105,16 @@ import Foundation
105105 }
106106
107107 //*========================================================================*
108- // MARK: * Instruction
108+ // MARK: * Adjustments
109109 //*========================================================================*
110110
111111 /// A model for marking currency labels as virtual.
112112 ///
113113 /// Characters used to express currencies are usually disjoint
114114 /// from characters used to express amounts, but sometimes they overlap.
115- /// This instruction is used to efficiently mark currency labels when needed.
115+ /// This model is used to mark currency labels as virtual when needed.
116116 ///
117- @usableFromInline struct Instruction {
117+ @usableFromInline struct Adjustments {
118118
119119 //=--------------------------------------------------------------------=
120120 // MARK: State
@@ -177,7 +177,7 @@ extension NumericTextSchemeXCurrency {
177177 //=------------------------------------------------------------------------=
178178
179179 @inlinable func autocorrect( _ snapshot: inout Snapshot ) {
180- instruction ? . autocorrect ( & snapshot)
180+ adjustments ? . autocorrect ( & snapshot)
181181 }
182182
183183 //=------------------------------------------------------------------------=
0 commit comments