]> Cypherpunks repositories - gostls13.git/commitdiff
fix a typo in the runtime.MemStats documentation
authorPaul Boyd <boyd.paul2@gmail.com>
Fri, 8 Dec 2017 17:48:26 +0000 (12:48 -0500)
committerIan Lance Taylor <iant@golang.org>
Fri, 8 Dec 2017 18:01:57 +0000 (18:01 +0000)
Change-Id: If553950446158cee486006ba85c3663b986008a6
Reviewed-on: https://go-review.googlesource.com/82936
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/runtime/mstats.go

index 53caefc0fe988d4a18cf7b5f3efe3e2ad382526e..e6f2f0026bf9cfc6a3d10059a94aa6406129d6c5 100644 (file)
@@ -262,7 +262,7 @@ type MemStats struct {
        // can only be used for other objects of roughly the same
        // size.
        //
-       // HeapInuse minus HeapAlloc esimates the amount of memory
+       // HeapInuse minus HeapAlloc estimates the amount of memory
        // that has been dedicated to particular size classes, but is
        // not currently being used. This is an upper bound on
        // fragmentation, but in general this memory can be reused