aboutsummaryrefslogtreecommitdiff
path: root/page.go
diff options
context:
space:
mode:
authorJosh Bleecher Snyder <josharian@gmail.com>2016-12-22 17:05:52 -0800
committerJosh Bleecher Snyder <josharian@gmail.com>2016-12-23 08:56:04 -0800
commit1858583b3b0b9db3794a35fa9689c8c351363dbf (patch)
tree0f88c13603617db27ffd9dedb399dd05bec38ee4 /page.go
parentMerge pull request #636 from josharian/perf (diff)
downloaddedo-1858583b3b0b9db3794a35fa9689c8c351363dbf.tar.gz
dedo-1858583b3b0b9db3794a35fa9689c8c351363dbf.tar.xz
Clean up after #636
freelist.lenall duplicated freelist.count. freelist.copyall and mergepgids docs had typos.
Diffstat (limited to 'page.go')
-rw-r--r--page.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/page.go b/page.go
index ccc6666..cde403a 100644
--- a/page.go
+++ b/page.go
@@ -154,7 +154,7 @@ func (a pgids) merge(b pgids) pgids {
return merged
}
-// merge copies the sorted union of a and b into dst.
+// mergepgids copies the sorted union of a and b into dst.
// If dst is too small, it panics.
func mergepgids(dst, a, b pgids) {
if len(dst) < len(a)+len(b) {