diff --git a/cache.go b/cache.go index 1aa8c5e..651b102 100644 --- a/cache.go +++ b/cache.go @@ -22,7 +22,7 @@ type cacheEntry struct { // multiple Conns. Returned references should not be mutated by callers. Certificates // are still safe to use after they are removed from the cache. // -// Certificates are returned wrapped in a activeCert struct that should be held by +// Certificates are returned wrapped in an activeCert struct that should be held by // the caller. When references to the activeCert are freed, the number of references // to the certificate in the cache is decremented. Once the number of references // reaches zero, the entry is evicted from the cache. @@ -49,7 +49,7 @@ type activeCert struct { } // active increments the number of references to the entry, wraps the -// certificate in the entry in a activeCert, and sets the finalizer. +// certificate in the entry in an activeCert, and sets the finalizer. // // Note that there is a race between active and the finalizer set on the // returned activeCert, triggered if active is called after the ref count is