fix: fix misspellings ->

This commit is contained in:
dudaodong committed 2022-05-30 20:54:34 +08:00
1 parent fc6f618885
commit 7b84fbfd94
2 files changed
+13 -13

No files matched your search

+2 -2
View File
@@ -132,8 +132,8 @@ func (l *List[T]) UpdateAt(index int, value T) {
l.data = append(data[:index], append([]T{value}, data[index+1:]...)...)
}
// Equtal compare list to other list, use reflect.DeepEqual
func (l *List[T]) Equtal(other *List[T]) bool {
// Equal compare list to other list, use reflect.DeepEqual
func (l *List[T]) Equal(other *List[T]) bool {
if len(l.data) != len(other.data) {
return false
}