| commit | 52c88848b6778b724fa8cff369559d8556908952 | [log] [tgz] |
|---|---|---|
| author | Mitchell Hashimoto <mitchell.hashimoto@gmail.com> | Sun May 19 14:54:59 2013 -1000 |
| committer | Mitchell Hashimoto <mitchell.hashimoto@gmail.com> | Sun May 19 14:54:59 2013 -1000 |
| tree | 328e4197555faefc63a21073ec35728f6bba2bac | |
| parent | 0b7705f42ae95d4535e196d15138ccb6f4c107a4 [diff] |
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())