From 3bc4b2db12d49e4ab4b06abbcdd80411cba3c91d Mon Sep 17 00:00:00 2001 From: Brandon Philips Date: Thu, 11 Sep 2014 13:59:29 -0700 Subject: [PATCH] raft: log comment grammar fix --- raft/log.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/raft/log.go b/raft/log.go index 07a582e98..eb21e1ec8 100644 --- a/raft/log.go +++ b/raft/log.go @@ -190,7 +190,7 @@ func (l *raftLog) at(i int64) *pb.Entry { return &l.ents[i-l.offset] } -// slice get a slice of log entries from lo through hi-1, inclusive. +// slice returns a slice of log entries from lo through hi-1, inclusive. func (l *raftLog) slice(lo int64, hi int64) []pb.Entry { if lo >= hi { return nil