From 7a2aac406d819cf34e7550e68e467d7aff6c1f33 Mon Sep 17 00:00:00 2001 From: yy Date: Sun, 18 Jan 2026 02:03:25 +0900 Subject: [PATCH] fix: typos in comments (#36394) --- services/convert/repository.go | 2 +- services/issue/issue.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/services/convert/repository.go b/services/convert/repository.go index 4e0a404bdc..da4e59d7a9 100644 --- a/services/convert/repository.go +++ b/services/convert/repository.go @@ -34,7 +34,7 @@ func innerToRepo(ctx context.Context, repo *repo_model.Repository, permissionInR permissionInRepo.SetUnitsWithDefaultAccessMode(repo.Units, permissionInRepo.AccessMode) } - // TODO: ideally we should pass "doer" into "ToRepo" to to make CloneLink could generate user-related links + // TODO: ideally we should pass "doer" into "ToRepo" to make CloneLink could generate user-related links // And passing "doer" in will also fix other FIXMEs in this file. cloneLink := repo.CloneLinkGeneral(ctx) // no doer at the moment permission := &api.Permission{ diff --git a/services/issue/issue.go b/services/issue/issue.go index 85e70d0761..bb208e43a9 100644 --- a/services/issue/issue.go +++ b/services/issue/issue.go @@ -228,7 +228,7 @@ func AddAssigneeIfNotAssigned(ctx context.Context, issue *issues_model.Issue, do return nil, err } if isAssigned { - // nothing to to + // nothing to do return nil, nil }