Skip to content

Commit

Permalink
Elaborate on moves not necessarily representing all moves.
Browse files Browse the repository at this point in the history
  • Loading branch information
andersio committed Oct 21, 2017
1 parent 42ed918 commit a0985d8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion FlexibleDiff/Changeset.swift
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,11 @@ public struct Changeset {
/// start index and the offset.
public var mutations = IndexSet()

/// The offset pairs of moves with a mutation flag as the associated value.
/// The offset pairs of moves.
///
/// These represent only the required moves for reproducing the current version from the
/// previous version — moves being implied by preceding removals and insertions could
/// have been eliminated as an optimization.
///
/// The source offset is semantically equivalent to a removal offset, while the
/// destination offset is semantically equivalent to an insertion offset.
Expand Down

0 comments on commit a0985d8

Please sign in to comment.