Skip to content

Commit

Permalink
Merge pull request #1056 from steveyen/master
Browse files Browse the repository at this point in the history
fix minor doc comment typo
  • Loading branch information
Steve Yen committed Nov 27, 2018
2 parents 695c0fd + 55d3031 commit 793852f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index/scorch/snapshot_segment.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ func (s *SegmentSnapshot) DocNumbers(docIDs []string) (*roaring.Bitmap, error) {
return rv, nil
}

// DocNumbersLive returns bitsit containing doc numbers for all live docs
// DocNumbersLive returns a bitmap containing doc numbers for all live docs
func (s *SegmentSnapshot) DocNumbersLive() *roaring.Bitmap {
rv := roaring.NewBitmap()
rv.AddRange(0, s.segment.Count())
Expand Down

0 comments on commit 793852f

Please sign in to comment.