From 6a51a2e115afc6acc437f731e2abe6b736673815 Mon Sep 17 00:00:00 2001 From: kindknow Date: Thu, 11 Apr 2024 19:43:26 +0800 Subject: [PATCH] chore: fix function name in comment Signed-off-by: kindknow --- data/binding/queue_test.go | 2 +- widget/entry.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/data/binding/queue_test.go b/data/binding/queue_test.go index 7a300d69cb..a190b5b210 100644 --- a/data/binding/queue_test.go +++ b/data/binding/queue_test.go @@ -14,7 +14,7 @@ func TestMain(m *testing.M) { os.Exit(m.Run()) } -// TestQueryLazyInit resets the current unbounded func queue, and tests +// TestQueueLazyInit resets the current unbounded func queue, and tests // if the queue is lazy initialized. // // Note that this test may fail, if any of other tests in this package diff --git a/widget/entry.go b/widget/entry.go index 9b8aae233b..549d52a4c1 100644 --- a/widget/entry.go +++ b/widget/entry.go @@ -974,7 +974,7 @@ func (e *Entry) cursorTextPos() (pos int) { return e.textPosFromRowCol(e.CursorRow, e.CursorColumn) } -// copyToClipboard copies the current selection to a given clipboard and then removes the selected text. +// cutToClipboard copies the current selection to a given clipboard and then removes the selected text. // This does nothing if it is a concealed entry. func (e *Entry) cutToClipboard(clipboard fyne.Clipboard) { if !e.selecting || e.Password {