Browse Source

Fix the godoc for the getCommentsFromNotes method in the review package

Omar Jarjur 8 months ago
parent
commit
70bdda3067
1 changed files with 1 additions and 1 deletions
  1. 1 1
      review/review.go

+ 1 - 1
review/review.go

@@ -259,7 +259,7 @@ func buildCommentThreads(commentsByHash map[string]comment.Comment) []CommentThr
 	return threads
 }
 
-// getCommentsFromNotes parsess in the log-structured sequence of comments for a commit,
+// getCommentsFromNotes parses the log-structured sequence of comments for a commit,
 // and then builds the corresponding tree-structured comment threads.
 func getCommentsFromNotes(repo repository.Repo, revision string, commentNotes []repository.Note) ([]CommentThread, *bool) {
 	commentsByHash := comment.ParseAllValid(commentNotes)