mirror of
https://github.com/emirpasic/gods
synced 2024-11-13 19:12:07 +00:00
- fix comments
This commit is contained in:
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…
Reference in New Issue
Block a user