- fix comments

This commit is contained in:
emirpasic 2018-09-20 23:55:51 +02:00
parent c6630349c4
commit 1befeeefc9
3 changed files with 3 additions and 3 deletions

View File

@ -61,7 +61,7 @@ func (list *List) Get(index int) (interface{}, bool) {
return list.elements[index], true
}
// Remove removes one or more elements from the list with the supplied indices.
// Remove removes the element at the given index from the list.
func (list *List) Remove(index int) {
if !list.withinRange(index) {

View File

@ -100,7 +100,7 @@ func (list *List) Get(index int) (interface{}, bool) {
return element.value, true
}
// Remove removes one or more elements from the list with the supplied indices.
// Remove removes the element at the given index from the list.
func (list *List) Remove(index int) {
if !list.withinRange(index) {

View File

@ -90,7 +90,7 @@ func (list *List) Get(index int) (interface{}, bool) {
return element.value, true
}
// Remove removes one or more elements from the list with the supplied indices.
// Remove removes the element at the given index from the list.
func (list *List) Remove(index int) {
if !list.withinRange(index) {