Starting to refactor table styles

This commit is contained in:
Syrus
2020-07-07 14:49:06 -07:00
parent ba60724892
commit 931aa94587
6 changed files with 49 additions and 21 deletions

View File

@@ -36,7 +36,7 @@ impl Table {
let tunables = store.tunables();
let table_plan = tunables.table_plan(ty);
let table = tunables
.create_table(table_plan)
.create_table(&table_plan.table, &table_plan.style)
.map_err(RuntimeError::new)?;
let num_elements = table.size();
@@ -61,7 +61,7 @@ impl Table {
/// Gets the underlying [`TableType`].
pub fn ty(&self) -> &TableType {
&self.exported.plan().table
self.exported.ty()
}
pub fn store(&self) -> &Store {