From b26e04175c96cff2a42eeb54b2cc9a2a9a15b569 Mon Sep 17 00:00:00 2001 From: Martin Angers Date: Thu, 15 Nov 2012 17:15:47 -0500 Subject: [PATCH] fix comment in Slice(), negative indices are now supported --- array.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/array.go b/array.go index b2d7412..c6e3183 100644 --- a/array.go +++ b/array.go @@ -28,7 +28,7 @@ func (this *Selection) Eq(index int) *Selection { } // Slice() reduces the set of matched elements to a subset specified by a range -// of indices. At the moment, negative indices are not supported. +// of indices. func (this *Selection) Slice(start int, end int) *Selection { if start < 0 { start += len(this.Nodes)