diff options
author | Michael Muré <batolettre@gmail.com> | 2018-08-07 14:57:12 +0200 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2018-08-07 14:57:12 +0200 |
commit | 28670ff8de4e8a266a191265d1b0c57d438e191e (patch) | |
tree | b571d861b11d936b74acc51358d62351bd52ebe4 /bug/sorting.go | |
parent | 435be2b693aee89ed34a2d1e7291b3b141b19717 (diff) | |
download | git-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.go | 4 |
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()) |