aboutsummaryrefslogtreecommitdiff
path: root/syncapi/storage
diff options
context:
space:
mode:
authorAndrew Morgan <1342360+anoadragon453@users.noreply.github.com>2019-07-12 16:43:01 +0100
committerGitHub <noreply@github.com>2019-07-12 16:43:01 +0100
commite2251199a49ab0bb846c02ba37e1cd437a7f725b (patch)
tree85487ef9deaf39a38f9e6ccf47dbc33e838c5dd8 /syncapi/storage
parent29841bed6b1a88787211368e6052a87a658c5714 (diff)
Lots of small typo fixes (#737)
Diffstat (limited to 'syncapi/storage')
-rw-r--r--syncapi/storage/output_room_events_table.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/syncapi/storage/output_room_events_table.go b/syncapi/storage/output_room_events_table.go
index 06df017c..34632aed 100644
--- a/syncapi/storage/output_room_events_table.go
+++ b/syncapi/storage/output_room_events_table.go
@@ -235,7 +235,7 @@ func (s *outputRoomEventsStatements) selectRecentEvents(
return nil, err
}
// The events need to be returned from oldest to latest, which isn't
- // necessary the way the SQL query returns them, so a sort is necessary to
+ // necessarily the way the SQL query returns them, so a sort is necessary to
// ensure the events are in the right order in the slice.
sort.SliceStable(events, func(i int, j int) bool {
return events[i].streamPosition < events[j].streamPosition