Skip to content

Commit

Permalink
Update Sources/Automerge/Document.swift
Browse files Browse the repository at this point in the history
Co-authored-by: Joseph Heck <[email protected]>
  • Loading branch information
miguelangel-dev and heckj authored Jun 6, 2024
1 parent 0d8de93 commit cc75d8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Automerge/Document.swift
Original file line number Diff line number Diff line change
Expand Up @@ -955,7 +955,7 @@ public final class Document: @unchecked Sendable {
/// ```
/// - Parameters:
/// - from: The set of heads at beginning point in the documents history.
/// - to: heads at ending point in the documents history.
/// - to: The set of heads at ending point in the documents history.
/// - Note: `from` and `to` do not have to be chronological. Document state can move backward.
/// - Returns: The difference needed to produce a document at `to` when it is set at `from` in history.
public func difference(from before: Set<ChangeHash>, to after: Set<ChangeHash>) -> [Patch] {
Expand Down

0 comments on commit cc75d8b

Please sign in to comment.