From 066f9daae74db2473a81f5814d535567df9d67f3 Mon Sep 17 00:00:00 2001 From: Mark Haines Date: Thu, 9 Mar 2017 11:46:48 +0000 Subject: [PATCH] Spelling --- .../matrix-org/dendrite/roomserver/state/state.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/github.com/matrix-org/dendrite/roomserver/state/state.go b/src/github.com/matrix-org/dendrite/roomserver/state/state.go index 5fde6ae25..5f80b33da 100644 --- a/src/github.com/matrix-org/dendrite/roomserver/state/state.go +++ b/src/github.com/matrix-org/dendrite/roomserver/state/state.go @@ -49,7 +49,7 @@ func LoadStateAtSnapshot(db RoomStateDatabase, stateNID types.StateSnapshotNID) } stateEntriesMap := stateEntryListMap(stateEntryLists) - // Combined all the state entries for this snapshot. + // Combine all the state entries for this snapshot. // The order of state block NIDs in the list tells us the order to combine them in. var fullState []types.StateEntry for _, stateBlockNID := range stateBlockNIDList.StateBlockNIDs { @@ -112,7 +112,7 @@ func LoadCombinedStateAfterEvents(db RoomStateDatabase, prevStates []types.State panic(fmt.Errorf("Corrupt DB: Missing state snapshot numeric ID %d", prevState.BeforeStateSnapshotNID)) } - // Combined all the state entries for this snapshot. + // Combine all the state entries for this snapshot. // The order of state block NIDs in the list tells us the order to combine them in. var fullState []types.StateEntry for _, stateBlockNID := range stateBlockNIDs { @@ -268,7 +268,7 @@ func loadStateAtSnapshotForNumericTuples( } stateEntriesMap := stateEntryListMap(stateEntryLists) - // Combined all the state entries for this snapshot. + // Combine all the state entries for this snapshot. // The order of state block NIDs in the list tells us the order to combine them in. var fullState []types.StateEntry for _, stateBlockNID := range stateBlockNIDList.StateBlockNIDs {