Skip to content

Commit 742d1d5

Browse files
committed
Cleanup.
1 parent 78660d0 commit 742d1d5

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

Sources/DiffableTextStylesXNumeric/Number/Number.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ extension Number {
145145
//=--------------------------------------=
146146
// MARK: Integer
147147
//=--------------------------------------=
148-
self.integer.suffix(maxLength: min(max.integer, max.value))
148+
self.integer.suffix(maxLength: min(max.integer, max.value))
149149
self.integer.trimZerosPrefix()
150150
//=--------------------------------------=
151151
// MARK: Fraction

Sources/DiffableTextStylesXNumeric/Style+Helpers.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ extension NumericTextStyle {
1919
// MARK: Characters
2020
//=------------------------------------------------------------------------=
2121

22-
/// Assumes that characters contains at least one content character.
22+
/// Assumes characters contain at least one content character.
2323
@inlinable func snapshot(_ characters: String) -> Snapshot {
2424
var snapshot = characters.reduce(into: Snapshot()) { snapshot, character in
2525
let attribute: Attribute

Sources/DiffableTextViewsXiOS/DiffableTextField.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -314,9 +314,9 @@ public extension View {
314314
// MARK: Transformations
315315
//=------------------------------------------------------------------------=
316316

317-
@inlinable func onSetup(of view: DiffableTextFieldID,
317+
@inlinable func onSetup(of view: DiffableTextFieldID,
318318
_ action: @escaping (ProxyTextField) -> Void) -> some View {
319-
environment(\.diffableTextField_onSetup, action)
319+
environment(\.diffableTextField_onSetup, action)
320320
}
321321

322322
@inlinable func onUpdate(of view: DiffableTextFieldID,

Sources/DiffableTextViewsXiOS/Views/ProxyTextField.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public final class ProxyTextField: BasicTextField.View {
5050
// MARK: Actions
5151
//=------------------------------------------------------------------------=
5252

53-
/// Asks this object to relinquish its status as first responder in its window.
53+
/// Asks the view to relinquish its status as first responder in its window.
5454
///
5555
/// SwiftUI.FocusState is the preferred focusing mechanism in most cases.
5656
///

0 commit comments

Comments
 (0)