- fix comments

pull/89/head
emirpasic 6 years ago
parent c6630349c4
commit 1befeeefc9

@ -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) {

@ -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) {

@ -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) {

Loading…
Cancel
Save