From: Jan Ziak <0xe2.0x9a.0x9b@gmail.com> Date: Fri, 21 Sep 2012 16:25:55 +0000 (-0400) Subject: runtime: fix typos in comments X-Git-Tag: go1.1rc2~2383 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=b16c41bed703522e54f0c48b5b3f2ee0cd38c0d1;p=gostls13.git runtime: fix typos in comments R=rsc CC=golang-dev https://golang.org/cl/6554043 --- diff --git a/src/pkg/runtime/hashmap.h b/src/pkg/runtime/hashmap.h index 4c10cf6efd..80d85c4da1 100644 --- a/src/pkg/runtime/hashmap.h +++ b/src/pkg/runtime/hashmap.h @@ -143,7 +143,7 @@ struct hash_iter { Remove all sub-tables associated with *h. This undoes the effects of hash_init(). If other memory pointed to by user data must be freed, the caller is - responsible for doiing do by iterating over *h first; see + responsible for doing so by iterating over *h first; see hash_iter_init()/hash_next(). */ // void hash_destroy (struct hash *h); @@ -152,7 +152,7 @@ struct hash_iter { /* Initialize *it from *h. */ // void hash_iter_init (struct hash *h, struct hash_iter *it); -/* Return the next used entry in the table which which *it was initialized. */ +/* Return the next used entry in the table with which *it was initialized. */ // void *hash_next (struct hash_iter *it); /*---- test interface ----*/