Browse Source

Merge pull request #768 from bx2/744-typos-fix

Corrects typo and a grammatical mistake (#744)
Chris Bannister 9 years ago
parent
commit
6aa62c0c7c
3 changed files with 3 additions and 2 deletions
  1. 1 0
      AUTHORS
  2. 1 1
      helpers.go
  3. 1 1
      session.go

+ 1 - 0
AUTHORS

@@ -74,3 +74,4 @@ Sarah Brown <esbie.is@gmail.com>
 Caleb Doxsey <caleb@datadoghq.com>
 Frederic Hemery <frederic.hemery@datadoghq.com>
 Pekka Enberg <penberg@scylladb.com>
+Bartosz Burclaf <burclaf@gmail.com>

+ 1 - 1
helpers.go

@@ -247,7 +247,7 @@ func (iter *Iter) SliceMap() ([]map[string]interface{}, error) {
 }
 
 // MapScan takes a map[string]interface{} and populates it with a row
-// That is returned from cassandra.
+// that is returned from cassandra.
 func (iter *Iter) MapScan(m map[string]interface{}) bool {
 	if iter.err != nil {
 		return false

+ 1 - 1
session.go

@@ -1141,7 +1141,7 @@ func (iter *Iter) PageState() []byte {
 }
 
 // NumRows returns the number of rows in this pagination, it will update when new
-// pages are fetcehd, it is not the value of the total number of rows this iter
+// pages are fetched, it is not the value of the total number of rows this iter
 // will return unless there is only a single page returned.
 func (iter *Iter) NumRows() int {
 	return iter.numRows