Remove old TODO
diff --git a/mapstructure.go b/mapstructure.go index 8f3ded9..5fe8df2 100644 --- a/mapstructure.go +++ b/mapstructure.go
@@ -128,8 +128,6 @@ valType := val.Type() valElemType := valType.Elem() - // TODO: Error checking to make sure data is an array/slice type - // Make a new slice to hold our result, same size as the original data. sliceType := reflect.SliceOf(valElemType) valSlice := reflect.MakeSlice(sliceType, dataVal.Len(), dataVal.Len())