File tree Expand file tree Collapse file tree 6 files changed +5
-5
lines changed
Expand file tree Collapse file tree 6 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -43,13 +43,13 @@ public protocol DiffableTextStyle: Equatable {
4343 ///
4444 @inlinable func format( _ value: Value ) -> String
4545
46- /// Returns a value and a snapshot.
46+ /// Returns a value and a snapshot describing it .
4747 ///
4848 /// This method is called in response to changes upstream while the view is focused.
4949 ///
5050 @inlinable func interpret( _ value: Value ) -> Commit < Value >
5151
52- /// Returns a value and a snapshot.
52+ /// Returns a value and a snapshot describing it .
5353 ///
5454 /// This method is called in response to user input.
5555 ///
Original file line number Diff line number Diff line change 1414/// Up to two carets represented by a lower and upper bound.
1515///
1616/// When its bounds are equal, it represents a single upper caret.
17- /// This distinction matters to transformations such as map(lower:upper:).
17+ /// This distinction matters for transformations such as map(lower:upper:).
1818///
1919@usableFromInline struct Carets < Bound: Comparable > : Equatable {
2020
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ public struct Index: Comparable {
3939 /// Creates an instance describing a character's location.
4040 ///
4141 /// - Parameters:
42- /// - character: The character encoded index.
42+ /// - character: The character encoded index.
4343 /// - characters: The collection of characters that contains the index.
4444 ///
4545 @inlinable init ( _ character: String . Index , in characters: String ) {
Original file line number Diff line number Diff line change 1313
1414/// A set of values describing the state of a diffable text view.
1515///
16- /// - Uses copy-on-write.
16+ /// - Uses copy-on-write semantics .
1717///
1818public struct Context < Style: DiffableTextStyle > {
1919 public typealias Commit = DiffableTextKit . Commit < Value >
File renamed without changes.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments