Commit 53ceb2b
authored
refactor: TableCreation::builder()::properties accept an
## What changes are included in this PR?
`TableCreation::builder().properties()` should be able to accept any
`IntoIterator` type that can be used to build an `HashMap`.
For example, `TableCreation::builder().properties([("foo".to_string(),
"bar".to_string())])` should build a `HashMap` with one key value pair
`foo -> bar`.
## Are these changes tested?
Unittest are provided.IntoIterator (#1233)1 parent e1e3ba4 commit 53ceb2b
1 file changed
+23
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
261 | 261 | | |
262 | 262 | | |
263 | 263 | | |
264 | | - | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
265 | 267 | | |
266 | 268 | | |
267 | 269 | | |
| |||
901 | 903 | | |
902 | 904 | | |
903 | 905 | | |
| 906 | + | |
| 907 | + | |
| 908 | + | |
| 909 | + | |
| 910 | + | |
| 911 | + | |
| 912 | + | |
| 913 | + | |
| 914 | + | |
| 915 | + | |
| 916 | + | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
| 920 | + | |
| 921 | + | |
| 922 | + | |
| 923 | + | |
| 924 | + | |
| 925 | + | |
904 | 926 | | |
905 | 927 | | |
906 | 928 | | |
| |||
0 commit comments