Commit e6b451e
committed
refactor(schema): change tables() method to return iterator over values
Change SchemaDef::tables() return type from &HashMap<String, TableDef>
to impl Iterator<Item = &TableDef> to provide a cleaner API that focuses
on the table definitions rather than exposing the internal storage structure.
Signed-off-by: Svetlin Ralchev <iamralch@users.noreply.github.com>1 parent 299093e commit e6b451e
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
91 | | - | |
| 90 | + | |
| 91 | + | |
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| |||
0 commit comments