瀏覽代碼

wal: document grammar correction

Corrected grammar mistake for doc.go
sharat 10 年之前
父節點
當前提交
69ed560fae
共有 1 個文件被更改,包括 1 次插入 和 1 次删除
  1. 1 1
      wal/doc.go

+ 1 - 1
wal/doc.go

@@ -25,7 +25,7 @@ to it with the Save method:
 	...
 	err := w.Save(s, ents)
 
-After saving an raft snapshot to disk, SaveSnapshot method should be called to
+After saving a raft snapshot to disk, SaveSnapshot method should be called to
 record it. So WAL can match with the saved snapshot when restarting.
 
 	err := w.SaveSnapshot(walpb.Snapshot{Index: 10, Term: 2})