aboutsummaryrefslogtreecommitdiffstats
path: root/bug/sorting.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-08-07 14:57:12 +0200
committerMichael Muré <batolettre@gmail.com>2018-08-07 14:57:12 +0200
commit28670ff8de4e8a266a191265d1b0c57d438e191e (patch)
treeb571d861b11d936b74acc51358d62351bd52ebe4 /bug/sorting.go
parent435be2b693aee89ed34a2d1e7291b3b141b19717 (diff)
downloadgit-bug-28670ff8de4e8a266a191265d1b0c57d438e191e.tar.gz
doc: complete the model doc now that the code is more stable
Diffstat (limited to 'bug/sorting.go')
-rw-r--r--bug/sorting.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/bug/sorting.go b/bug/sorting.go
index 231055bd..360a969d 100644
--- a/bug/sorting.go
+++ b/bug/sorting.go
@@ -18,7 +18,7 @@ func (b BugsByCreationTime) Less(i, j int) bool {
// When the logical clocks are identical, that means we had a concurrent
// edition. In this case we rely on the timestamp. While the timestamp might
// be incorrect due to a badly set clock, the drift in sorting is bounded
- // by the first sorting using the logical clock. That means that if user
+ // by the first sorting using the logical clock. That means that if users
// synchronize their bugs regularly, the timestamp will rarely be used, and
// should still provide a kinda accurate sorting when needed.
return b[i].firstOp().Time().Before(b[j].firstOp().Time())
@@ -46,7 +46,7 @@ func (b BugsByEditTime) Less(i, j int) bool {
// When the logical clocks are identical, that means we had a concurrent
// edition. In this case we rely on the timestamp. While the timestamp might
// be incorrect due to a badly set clock, the drift in sorting is bounded
- // by the first sorting using the logical clock. That means that if user
+ // by the first sorting using the logical clock. That means that if users
// synchronize their bugs regularly, the timestamp will rarely be used, and
// should still provide a kinda accurate sorting when needed.
return b[i].lastOp().Time().Before(b[j].lastOp().Time())