aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/malloc2.go
diff options
context:
space:
mode:
authorGuobiao Mei <meiguobiao@gmail.com>2014-12-18 10:53:00 -0500
committerMinux Ma <minux@golang.org>2014-12-18 20:35:56 +0000
commit6ce3cd18fa630fd5d0c97fa7903425dc4759f2a2 (patch)
tree5b0c46a9418dc60a6575377a0e53c5b2fc6c2cda /src/runtime/malloc2.go
parent604fa4d5a149c334ff0bd5d191c4c4e29f75545d (diff)
downloadgo-6ce3cd18fa630fd5d0c97fa7903425dc4759f2a2.tar.xz
runtime: fix a minor typo in comments
Change-Id: I13a8aacd1b8243c992b539ab6bf7b5dff2a1393a Reviewed-on: https://go-review.googlesource.com/1757 Reviewed-by: Minux Ma <minux@golang.org>
Diffstat (limited to 'src/runtime/malloc2.go')
-rw-r--r--src/runtime/malloc2.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/malloc2.go b/src/runtime/malloc2.go
index c975f845bc..535e7cace3 100644
--- a/src/runtime/malloc2.go
+++ b/src/runtime/malloc2.go
@@ -40,7 +40,7 @@ import "unsafe"
//
// 3. If the MCentral free list is empty, replenish it by
// allocating a run of pages from the MHeap and then
-// chopping that memory into a objects of the given size.
+// chopping that memory into objects of the given size.
// Allocating many objects amortizes the cost of locking
// the heap.
//