From e96be59842fc8ce3b3ea2d2a212a94ef8f1c5e0c Mon Sep 17 00:00:00 2001 From: "Hyunwoo.Jo" Date: Wed, 5 Oct 2022 07:22:00 +0900 Subject: [PATCH] Fix typo (#421) --- pkg/document/crdt/counter.go | 2 +- pkg/document/crdt/element.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/document/crdt/counter.go b/pkg/document/crdt/counter.go index eb9d7e7ea..4f997cc7d 100644 --- a/pkg/document/crdt/counter.go +++ b/pkg/document/crdt/counter.go @@ -151,7 +151,7 @@ func (p *Counter) RemovedAt() *time.Ticket { return p.removedAt } -// SetRemovedAt sets the removal time of this array. +// SetRemovedAt sets the removal time of this element. func (p *Counter) SetRemovedAt(removedAt *time.Ticket) { p.removedAt = removedAt } diff --git a/pkg/document/crdt/element.go b/pkg/document/crdt/element.go index f62f00399..34ea9f1a9 100644 --- a/pkg/document/crdt/element.go +++ b/pkg/document/crdt/element.go @@ -24,7 +24,7 @@ import ( type Container interface { Element - // Purge physically purges the given chile element. + // Purge physically purges the given child element. Purge(child Element) // Descendants returns all descendants of this container.