Skip to content

Commit

Permalink
minor: typo in the difference binding api description
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelangel-dev committed Jun 6, 2024
1 parent c9643a3 commit 50dce34
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 @@ -992,7 +992,7 @@ public final class Document: @unchecked Sendable {
/// ```
/// - Parameters:
/// - to: heads at ending point in the documents history.
/// - Note: `from` do not have to be chronological. Document state can move backward.
/// - Note: `to` do not have to be chronological. Document state can move backward.
/// - Returns: The difference needed to produce a document at `to` in the history.
public func difference(to rhs: Set<ChangeHash>) -> [Patch] {
difference(from: heads(), to: rhs)
Expand Down

0 comments on commit 50dce34

Please sign in to comment.